h8300.c: Remove obstack.
2000-10-16 Kazu Hirata <kazu@hxi.com> * config/h8300/h8300.c: Remove obstack. From-SVN: r36880
This commit is contained in:
parent
1df1abe2b0
commit
4d231df749
@ -1,3 +1,7 @@
|
||||
2000-10-16 Kazu Hirata <kazu@hxi.com>
|
||||
|
||||
* config/h8300/h8300.c: Remove obstack.
|
||||
|
||||
2000-10-16 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* rtlanal.c (may_trap_p): Check operand modes of COMPARE.
|
||||
|
@ -37,7 +37,6 @@ Boston, MA 02111-1307, USA. */
|
||||
#include "recog.h"
|
||||
#include "expr.h"
|
||||
#include "function.h"
|
||||
#include "obstack.h"
|
||||
#include "toplev.h"
|
||||
#include "c-pragma.h"
|
||||
#include "tm_p.h"
|
||||
@ -3045,8 +3044,6 @@ h8300_valid_machine_decl_attribute (decl, attributes, attr, args)
|
||||
return 0;
|
||||
}
|
||||
|
||||
extern struct obstack *saveable_obstack;
|
||||
|
||||
void
|
||||
h8300_encode_label (decl)
|
||||
tree decl;
|
||||
@ -3055,7 +3052,7 @@ h8300_encode_label (decl)
|
||||
int len = strlen (str);
|
||||
char *newstr;
|
||||
|
||||
newstr = obstack_alloc (saveable_obstack, len + 2);
|
||||
newstr = ggc_alloc_string (NULL, len + 1);
|
||||
|
||||
strcpy (newstr + 1, str);
|
||||
*newstr = '&';
|
||||
|
Loading…
Reference in New Issue
Block a user