aboutsummaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2009-04-06 13:24:32 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2009-04-06 11:24:32 +0000
commit570c4247a2a9edf2773908f727308633c97c6c7a (patch)
treea63e0bac5200159571181961e2d218c4aa231772 /gcc/except.c
parenta460d7a147af83ab70564aa339843505fadc4936 (diff)
downloadgcc-570c4247a2a9edf2773908f727308633c97c6c7a.zip
gcc-570c4247a2a9edf2773908f727308633c97c6c7a.tar.gz
gcc-570c4247a2a9edf2773908f727308633c97c6c7a.tar.bz2
re PR middle-end/39659 (ICE building libstdc++v3 functexcept.cc)
PR middle-end/39659 * except.c (remove_unreachable_regions): Propagate may_contain_throw flag. From-SVN: r145589
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/except.c b/gcc/except.c
index e0e90d2..e92b827 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -853,6 +853,7 @@ remove_unreachable_regions (sbitmap reachable, sbitmap contains_stmt)
r->region_number,
first_must_not_throw->region_number);
remove_eh_handler_and_replace (r, first_must_not_throw);
+ first_must_not_throw->may_contain_throw |= r->may_contain_throw;
}
else
bring_to_root (r);