This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r128159 - in /trunk/gcc: cp/ChangeLog cp/decl.c...


Author: jakub
Date: Wed Sep  5 23:25:07 2007
New Revision: 128159

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128159
Log:
	* decl.c (duplicate_decls): Set TREE_NOTHROW on __builtin_XX
	decl if a prototype for XX is provided with throw().

	* g++.dg/eh/builtin1.C: New test.
	* g++.dg/eh/builtin2.C: New test.
	* g++.dg/eh/builtin3.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/eh/builtin1.C
    trunk/gcc/testsuite/g++.dg/eh/builtin2.C
    trunk/gcc/testsuite/g++.dg/eh/builtin3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]