]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
except.c (sjlj_find_directly_reachable_regions): Recognize when must-not-throw region...
authorRichard Henderson <rth@redhat.com>
Wed, 2 Apr 2003 17:58:38 +0000 (09:58 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 2 Apr 2003 17:58:38 +0000 (09:58 -0800)
        * except.c (sjlj_find_directly_reachable_regions): Recognize when
        must-not-throw region has been deleted.

From-SVN: r65170

gcc/ChangeLog
gcc/except.c

index 76631c7f63bc8ae78978cb6a358d5ac026b5fca4..152dde6d89e24f30a62472944e9d18dec1cea612 100644 (file)
@@ -1,3 +1,8 @@
+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
index 00c5e5b9a545f221799d9a135582b57927687902..7cdb187e16477f06651f42ce3567755d78eec954 100644 (file)
@@ -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;
              }
        }