This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34196] [4.3 Regression] uninitialized variable warning in dead exception region
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jan 2008 04:54:23 -0000
- Subject: [Bug c++/34196] [4.3 Regression] uninitialized variable warning in dead exception region
- References: <bug-34196-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from jason at gcc dot gnu dot org 2008-01-22 04:54 -------
Subject: Bug 34196
Author: jason
Date: Tue Jan 22 04:53:33 2008
New Revision: 131710
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131710
Log:
PR c++/34196
* tree.h (TRY_CATCH_IS_CLEANUP): New macro.
* cp/decl.c (wrap_cleanups_r): Set TRY_CATCH_IS_CLEANUP.
* tree-eh.c (honor_protect_cleanup_actions): Strip TRY_CATCH_EXPR
if it is set.
Added:
trunk/gcc/testsuite/g++.dg/eh/init-temp2.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/tree-eh.c
trunk/gcc/tree.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34196