This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r159411 - in /branches/gcc-4_5-branch/gcc: Chan...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 14 May 2010 19:59:44 -0000
- Subject: r159411 - in /branches/gcc-4_5-branch/gcc: Chan...
Author: jason
Date: Fri May 14 19:59:43 2010
New Revision: 159411
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159411
Log:
PR c++/44127
gcc:
* gimple.h (enum gf_mask): Add GF_CALL_NOTHROW.
(gimple_call_set_nothrow): New.
* gimple.c (gimple_build_call_from_tree): Call it.
(gimple_call_flags): Set ECF_NOTHROW from GF_CALL_NOTHROW.
gcc/cp:
* except.c (dtor_nothrow): Return nonzero for type with
trivial destructor.
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/cp/ChangeLog
branches/gcc-4_5-branch/gcc/cp/except.c
branches/gcc-4_5-branch/gcc/gimple.c
branches/gcc-4_5-branch/gcc/gimple.h
branches/gcc-4_5-branch/gcc/testsuite/g++.dg/eh/terminate1.C