diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-18 13:46:39 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-18 13:46:39 +0000 |
commit | 1c8d20dd59a313b85de8626bfb6916e7be6685d0 (patch) | |
tree | 4b9a82e8f90590368df0a88c9063984b98efd1cd /gcc/read-rtl.c | |
parent | 6e81a3696568402c74c9ab8440e8434c4f71a9cb (diff) | |
download | gcc-1c8d20dd59a313b85de8626bfb6916e7be6685d0.tar.gz |
* read-rtl.c (mode_attr_index): Use obstack_grow0, not
obstack_grow.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99899 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/read-rtl.c')
-rw-r--r-- | gcc/read-rtl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/read-rtl.c b/gcc/read-rtl.c index 4fbfda0f1c3..1b1a329d2ff 100644 --- a/gcc/read-rtl.c +++ b/gcc/read-rtl.c @@ -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); |