diff options
author | DJ Delorie <dj@redhat.com> | 2000-11-14 14:45:29 -0500 |
---|---|---|
committer | DJ Delorie <dj@gcc.gnu.org> | 2000-11-14 14:45:29 -0500 |
commit | 568c51400d41716bf674300f7d830ab7145e84fd (patch) | |
tree | bbb35041c433bbc704b2521c5adab553e2d1fced /gcc | |
parent | ab6c59fd76971fe5b02e877ff34e65542b4cd2b7 (diff) | |
download | gcc-568c51400d41716bf674300f7d830ab7145e84fd.zip gcc-568c51400d41716bf674300f7d830ab7145e84fd.tar.gz gcc-568c51400d41716bf674300f7d830ab7145e84fd.tar.bz2 |
* config/v850/v850.c: Remove obstacks.
From-SVN: r37467
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/v850/v850.c | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bc3a906..a510068 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-11-14 DJ Delorie <dj@redhat.com> + + * config/v850/v850.c: Remove obstacks. + Tue Nov 14 21:54:31 2000 Marek Michalkiewicz <marekm@linux.org.pl> & Denis Chertykov <denisc@overta.ru> * config/avr/avr.c (avr_case_values_threshold): New. diff --git a/gcc/config/v850/v850.c b/gcc/config/v850/v850.c index 876b183..5304e6e 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); |