[patch] v850.c & obstacks
DJ Delorie
dj@redhat.com
Tue Nov 14 10:47:00 GMT 2000
OK to commit?
2000-11-14 DJ Delorie <dj@redhat.com>
* config/v850/v850.c: remove obstacks
Index: v850.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/v850/v850.c,v
retrieving revision 1.32
diff -p -2 -r1.32 v850.c
*** v850.c 2000/09/25 13:39:45 1.32
--- v850.c 2000/11/14 18:46:17
*************** Boston, MA 02111-1307, USA. */
*** 36,40 ****
#include "expr.h"
#include "function.h"
- #include "obstack.h"
#include "toplev.h"
#include "cpplib.h"
--- 36,39 ----
*************** v850_interrupt_function_p (func)
*** 2087,2092 ****
- extern struct obstack * saveable_obstack;
-
void
v850_encode_data_area (decl)
--- 2086,2089 ----
*************** v850_encode_data_area (decl)
*** 2135,2139 ****
}
! newstr = obstack_alloc (saveable_obstack, len + 2);
strcpy (newstr + 1, str);
--- 2132,2136 ----
}
! newstr = ggc_alloc_string (NULL, len + 1);
strcpy (newstr + 1, str);
More information about the Gcc-patches
mailing list