* config/v850/v850.c: Remove obstacks.

From-SVN: r37467
This commit is contained in:
DJ Delorie 2000-11-14 14:45:29 -05:00 committed by DJ Delorie
parent ab6c59fd76
commit 568c51400d
2 changed files with 5 additions and 4 deletions

View File

@ -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> 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. * config/avr/avr.c (avr_case_values_threshold): New.

View File

@ -35,7 +35,6 @@ Boston, MA 02111-1307, USA. */
#include "recog.h" #include "recog.h"
#include "expr.h" #include "expr.h"
#include "function.h" #include "function.h"
#include "obstack.h"
#include "toplev.h" #include "toplev.h"
#include "cpplib.h" #include "cpplib.h"
#include "c-lex.h" #include "c-lex.h"
@ -2086,8 +2085,6 @@ v850_interrupt_function_p (func)
} }
extern struct obstack * saveable_obstack;
void void
v850_encode_data_area (decl) v850_encode_data_area (decl)
tree decl; tree decl;
@ -2134,7 +2131,7 @@ v850_encode_data_area (decl)
return; return;
} }
newstr = obstack_alloc (saveable_obstack, len + 2); newstr = ggc_alloc_string (NULL, len + 2);
strcpy (newstr + 1, str); strcpy (newstr + 1, str);