]> gcc.gnu.org Git - gcc.git/commitdiff
* except.c (clear_function_eh_region): Do not free NULL.
authorPhilippe De Muyter <phdm@macqel.be>
Wed, 31 May 2000 12:37:38 +0000 (14:37 +0200)
committerPhilippe De Muyter <phdm@gcc.gnu.org>
Wed, 31 May 2000 12:37:38 +0000 (12:37 +0000)
From-SVN: r34297

gcc/ChangeLog
gcc/except.c

index 8dea6937a98d83b48d90ffd9c9eccb75c4417945..ca8b02247f38ac32d5ed49ccb3bc9ecda665ef79 100644 (file)
@@ -1,3 +1,7 @@
+Wed May 31 13:17:20 2000  Philippe De Muyter  <phdm@macqel.be>
+
+       * except.c (clear_function_eh_region): Do not free NULL.
+
 Wed May 31 08:07:52 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
        * flow.c (propagate_block): If block has no successors, stores to
index eb9ad28039ac403272cf5f37b0ea0054022a2d1f..ad2e31047f0be4e080367131f14619f9f0f07389 100644 (file)
@@ -931,7 +931,8 @@ clear_function_eh_region ()
         next = ptr->next;
         free (ptr);
       }
-  free (function_eh_regions);
+  if (function_eh_regions)
+    free (function_eh_regions);
   num_func_eh_entries  = 0;
   current_func_eh_entry = 0;
 }
This page took 0.081855 seconds and 5 git commands to generate.