Commit 526a6253 by Richard Kenner

(build_string): Remove previous change and comment why string text has

to be in saveable_obstack.

From-SVN: r5589
parent a457294f
......@@ -1252,9 +1252,13 @@ build_string (len, str)
int len;
char *str;
{
/* Put the string in saveable_obstack since it will be placed in the RTL
for an "asm" statement and will also be kept around a while if
deferring constant output in varasm.c. */
register tree s = make_node (STRING_CST);
TREE_STRING_LENGTH (s) = len;
TREE_STRING_POINTER (s) = obstack_copy0 (expression_obstack, str, len);
TREE_STRING_POINTER (s) = obstack_copy0 (saveable_obstack, str, len);
return s;
}
......
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