summaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-06 11:24:32 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-06 11:24:32 +0000
commitb07ddb92343b4f14514c01ded8d8896937a6efd9 (patch)
treea63e0bac5200159571181961e2d218c4aa231772 /gcc/except.c
parent85714674d90142d552030b9da20b62907479df91 (diff)
downloadgcc-b07ddb92343b4f14514c01ded8d8896937a6efd9.tar.gz
PR middle-end/39659
* except.c (remove_unreachable_regions): Propagate may_contain_throw flag. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145589 138bc75d-0d04-0410-961f-82ee72b054a4
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 e0e90d2a1fd..e92b8270e65 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);