diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bc3a9063b35..a510068bc46 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-11-14 DJ Delorie + + * config/v850/v850.c: Remove obstacks. + Tue Nov 14 21:54:31 2000 Marek Michalkiewicz & Denis Chertykov * config/avr/avr.c (avr_case_values_threshold): New. diff --git a/gcc/config/v850/v850.c b/gcc/config/v850/v850.c index 876b1835939..5304e6e5e0b 100644 --- a/gcc/config/v850/v850.c +++ b/gcc/config/v850/v850.c @@ -35,7 +35,6 @@ Boston, MA 02111-1307, USA. */ #include "recog.h" #include "expr.h" #include "function.h" -#include "obstack.h" #include "toplev.h" #include "cpplib.h" #include "c-lex.h" @@ -2086,8 +2085,6 @@ v850_interrupt_function_p (func) } -extern struct obstack * saveable_obstack; - void v850_encode_data_area (decl) tree decl; @@ -2134,7 +2131,7 @@ v850_encode_data_area (decl) return; } - newstr = obstack_alloc (saveable_obstack, len + 2); + newstr = ggc_alloc_string (NULL, len + 2); strcpy (newstr + 1, str);