OSDN Git Service

* except.c (clear_function_eh_region): Do not free NULL.
authorphdm <phdm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 May 2000 12:37:38 +0000 (12:37 +0000)
committerphdm <phdm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 May 2000 12:37:38 +0000 (12:37 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34297 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/except.c

index 8dea693..ca8b022 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 eb9ad28..ad2e310 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;
 }