Commit 1a2ebe6d by Alexandre Petit-Bianco Committed by Alexandre Petit-Bianco

except.c (free_eh_ranges): Don't free `whole_range.'

2000-10-17  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * except.c (free_eh_ranges): Don't free `whole_range.'

(http://gcc.gnu.org/ml/gcc-patches/2000-10/msg00557.html)

From-SVN: r36915
parent 832ea3b3
2000-10-17 Alexandre Petit-Bianco <apbianco@cygnus.com>
* except.c (free_eh_ranges): Don't free `whole_range.'
2000-10-15 Anthony Green <green@redhat.com> 2000-10-15 Anthony Green <green@redhat.com>
* decl.c (init_decl_processing): Call init_class_processing before * decl.c (init_decl_processing): Call init_class_processing before
......
...@@ -232,7 +232,8 @@ free_eh_ranges (range) ...@@ -232,7 +232,8 @@ free_eh_ranges (range)
{ {
struct eh_range *next = range->next_sibling; struct eh_range *next = range->next_sibling;
free_eh_ranges (range->first_child); free_eh_ranges (range->first_child);
free (range); if (range != &whole_range)
free (range);
range = next; range = next;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment