r128376 - in /trunk/gcc: ChangeLog builtins.c b...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Tue Sep 11 13:40:00 GMT 2007
Author: jakub
Date: Tue Sep 11 13:40:14 2007
New Revision: 128376
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128376
Log:
* 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.
Added:
trunk/gcc/testsuite/g++.dg/ext/va-arg-pack-len-1.C
trunk/gcc/testsuite/gcc.dg/va-arg-pack-len-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/builtins.c
trunk/gcc/builtins.def
trunk/gcc/doc/extend.texi
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-inline.c
More information about the Gcc-cvs
mailing list