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

jakub@gcc.gnu.org jakub@gcc.gnu.org
Wed Sep 5 23:25:00 GMT 2007


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



More information about the Gcc-cvs mailing list