diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-09-11 15:40:14 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2007-09-11 15:40:14 +0200 |
commit | ab0e176c5b252f6cf61e520b36f6c0d313a3281d (patch) | |
tree | 79484e03a465253f9b84c8b8966f361bbe454ca5 /gcc/config.gcc | |
parent | e6ebd07f479b258643f61e4b49dc954b336142d5 (diff) | |
download | gcc-ab0e176c5b252f6cf61e520b36f6c0d313a3281d.zip gcc-ab0e176c5b252f6cf61e520b36f6c0d313a3281d.tar.gz gcc-ab0e176c5b252f6cf61e520b36f6c0d313a3281d.tar.bz2 |
builtins.def (BUILT_IN_VA_ARG_PACK_LEN): New builtin.
* builtins.def (BUILT_IN_VA_ARG_PACK_LEN): New builtin.
* builtins.c (expand_builtin) <case BUILT_IN_VA_ARG_PACK_LEN>: Issue
error if __builtin_va_arg_pack_len () wasn't optimized out during
inlining.
* tree-inline.c (copy_bb): Replace __builtin_va_arg_pack_len ()
with the number of inline's anonymous arguments.
* doc/extend.texi: Document __builtin_va_arg_pack_len ().
* gcc.dg/va-arg-pack-len-1.c: New test.
* g++.dg/va-arg-pack-len-1.C: New test.
From-SVN: r128376
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions