aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/except.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 76631c7..152dde6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2003-04-02 Richard Henderson <rth@redhat.com>
+ * except.c (sjlj_find_directly_reachable_regions): Recognize when
+ must-not-throw region has been deleted.
+
+2003-04-02 Richard Henderson <rth@redhat.com>
+
* dwarf2out.c (output_call_frame_info): Ignore fde->nothrow as an
optimization when flag_exceptions not enabled.
diff --git a/gcc/except.c b/gcc/except.c
index 00c5e5b..7cdb187 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -1986,6 +1986,8 @@ sjlj_find_directly_reachable_regions (lp_info)
if (r->type == ERT_CLEANUP)
{
rc = RNL_MAYBE_CAUGHT;
+ if (! region->label)
+ region = r;
break;
}
}