This is the mail archive of the gcc-bugs@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]

[Bug c++/34196] [4.3 Regression] uninitialized variable warning in dead exception region



------- 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


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