OSDN Git Service

* g++.dg/eh/nested-try.C: New test.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 May 2009 10:52:24 +0000 (10:52 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 May 2009 10:52:24 +0000 (10:52 +0000)
commit8997fc11c1ae0d62e75e72de53f3d85340babc18
treea32d4999485d8f15ac31567a5b4910e7ca7f29f7
parente0f8443987c63baa1ef325bb238d24c1cc8df563
* g++.dg/eh/nested-try.C: New test.

PR middle-end/40043
* except.c (copy_eh_region): Always set prev_try.
(redirect_eh_edge_to_label): Find outer try.
(foreach_reachable_handler): When looking for prev try
handle case where previous try is not going to be taken.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147317 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/except.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/eh/nested-try.C [new file with mode: 0644]