+2001-01-05 Nick Clifton <nickc@redhat.com>
+
+ * config/v850/v850.c (v850_encode_data_area): Use alloca to create
+ temporary string for initialisation before calling ggc_alloc_string.
+
2001-01-06 Michael Hayes <mhayes@redhat.com>
* rtl.h (print_simple_rtl): New.
/* Subroutines for insn-output.c for NEC V850 series
- Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
Contributed by Jeff Law (law@cygnus.com).
This file is part of GNU CC.
return;
}
- newstr = ggc_alloc_string (NULL, len + 2);
+ newstr = alloca (len + 2);
strcpy (newstr + 1, str);
default: abort ();
}
- XSTR (XEXP (DECL_RTL (decl), 0), 0) = newstr;
+ XSTR (XEXP (DECL_RTL (decl), 0), 0) = ggc_alloc_string (newstr, len + 2);
}
/* Return true if the given RTX is a register which can be restored