summaryrefslogtreecommitdiff
path: root/gcc
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
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')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/except.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fff2d81c700..17ebd6d42fe 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2009-04-06 Jan Hubicka <jh@suse.cz>
+
+ PR middle-end/39659
+ * except.c (remove_unreachable_regions): Propagate may_contain_throw
+ flag.
+
2009-04-06 Andrew Stubbs <ams@codesourcery.com>
* config/sh/lib1funcs.asm (ic_invalidate): Move ICBI out of the
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);