]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/43365 (Destructor not called when returning in exception handler)
authorRichard Henderson <rth@redhat.com>
Tue, 16 Mar 2010 23:02:35 +0000 (16:02 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 16 Mar 2010 23:02:35 +0000 (16:02 -0700)
commite19d1f06837cc6fa1a6ee2540b4ccb572db05bad
tree1ada8b4322cb58084937c2086ecd64394a1249a7
parent7ebb824234a5ea9a45c53186494d6273d46f6c84
re PR middle-end/43365 (Destructor not called when returning in exception handler)

        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.

From-SVN: r157499
gcc/ChangeLog
gcc/testsuite/g++.dg/eh/pr43365.C [new file with mode: 0644]
gcc/tree-eh.c