Commit 33af9c08 by Ian Lance Taylor Committed by Ian Lance Taylor

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
parent 2afa8dce
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment