* except.c (clear_function_eh_region): Do not free NULL.

From-SVN: r34297
This commit is contained in:
Philippe De Muyter 2000-05-31 14:37:38 +02:00 committed by Philippe De Muyter
parent 8c41041620
commit 231a2828e1
2 changed files with 6 additions and 1 deletions

View 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

View 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;
}