aboutsummaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-04-02 09:58:38 -0800
committerRichard Henderson <rth@gcc.gnu.org>2003-04-02 09:58:38 -0800
commitb30abdf2561e7b54a82b0f2a53ddf62bc412aeaf (patch)
tree3e7ce4b43af397a0f75b161a462d4d76bade66b7 /gcc/except.c
parentad5eeaa9c1e1fb22dd5bf8631eb91d9b62733584 (diff)
downloadgcc-b30abdf2561e7b54a82b0f2a53ddf62bc412aeaf.zip
gcc-b30abdf2561e7b54a82b0f2a53ddf62bc412aeaf.tar.gz
gcc-b30abdf2561e7b54a82b0f2a53ddf62bc412aeaf.tar.bz2
except.c (sjlj_find_directly_reachable_regions): Recognize when must-not-throw region has been deleted.
* except.c (sjlj_find_directly_reachable_regions): Recognize when must-not-throw region has been deleted. From-SVN: r65170
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c2
1 files changed, 2 insertions, 0 deletions
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;
}
}