mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-20 09:20:42 +08:00
read-rtl.c (mode_attr_index): Use obstack_grow0, not obstack_grow.
* read-rtl.c (mode_attr_index): Use obstack_grow0, not obstack_grow. From-SVN: r99899
This commit is contained in:
parent
2afa8dceda
commit
33af9c08e1
@ -1,3 +1,8 @@
|
||||
2005-05-18 Ian Lance Taylor <ian@airs.com>
|
||||
|
||||
* read-rtl.c (mode_attr_index): Use obstack_grow0, not
|
||||
obstack_grow.
|
||||
|
||||
2005-05-18 Daniel Berlin <dberlin@dberlin.org>
|
||||
|
||||
* cfgrtl.c (purge_dead_edges): Don't remove fake edges.
|
||||
|
@ -320,7 +320,7 @@ mode_attr_index (struct map_value **mode_maps, const char *string)
|
||||
|
||||
/* Copy the attribute string into permanent storage, without the
|
||||
angle brackets around it. */
|
||||
obstack_grow (&string_obstack, string + 1, strlen (string) - 2);
|
||||
obstack_grow0 (&string_obstack, string + 1, strlen (string) - 2);
|
||||
p = (char *) obstack_finish (&string_obstack);
|
||||
|
||||
mv = XNEW (struct map_value);
|
||||
|
Loading…
x
Reference in New Issue
Block a user