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 middle-end/43365] [4.5 Regression] Destructor not called when returning in exception handler



------- Comment #4 from rth at gcc dot gnu dot org  2010-03-16 23:02 -------
Subject: Bug 43365

Author: rth
Date: Tue Mar 16 23:02:35 2010
New Revision: 157499

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157499
Log:
        PR middle-end/43365
        * tree-eh.c (replace_goto_queue): Also replace in the eh_seq.
        (lower_try_finally): Save and restore eh_seq around the expansion
        of the try-finally.

Added:
    trunk/gcc/testsuite/g++.dg/eh/pr43365.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-eh.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43365


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