]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* except.c (duplicate_eh_regions): Test n_array[i] for NULL.
authorJeff Sturm <jsturm@one-point.com>
Wed, 1 Aug 2001 01:37:31 +0000 (01:37 +0000)
committerJeff Sturm <jsturm@gcc.gnu.org>
Wed, 1 Aug 2001 01:37:31 +0000 (01:37 +0000)
From-SVN: r44527

gcc/ChangeLog
gcc/except.c

index 827e15de7f20b41b3db4489ca742292706dc5a62..f5d2ec568cd55a6cbe9389fa890ae7e7b2359337 100644 (file)
@@ -1,3 +1,7 @@
+2001-07-31  Jeff Sturm  <jsturm@one-point.com>
+
+        * except.c (duplicate_eh_regions): Test n_array[i] for NULL.
+
 2001-07-31  matthew green  <mrg@eterna.com.au>
 
        * config.gcc (i386-*-netbsdelf): New description.
index 0ed89a00726e6e6072c38a168088f86264363566..c7f5595e550fc5b9ffc53af69b527ad188e1342c 100644 (file)
@@ -1444,7 +1444,7 @@ duplicate_eh_regions (ifun, map)
        cur->inner = root;
 
       for (i = 1; i <= ifun_last_region_number; ++i)
-       if (n_array[i]->outer == NULL)
+       if (n_array[i] && n_array[i]->outer == NULL)
          n_array[i]->outer = cur;
     }
   else