diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-10-04 05:51:29 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-10-04 05:51:29 -0400 |
commit | 526a62535a5d36f18fa2769a1b7d1136f0cd3aea (patch) | |
tree | a12c6f364d3e7f1726d8413208d75a3467a71026 /gcc | |
parent | a457294fe6b160b9a19b7c24013e4c31ef79b60b (diff) | |
download | gcc-526a62535a5d36f18fa2769a1b7d1136f0cd3aea.zip gcc-526a62535a5d36f18fa2769a1b7d1136f0cd3aea.tar.gz gcc-526a62535a5d36f18fa2769a1b7d1136f0cd3aea.tar.bz2 |
(build_string): Remove previous change and comment why string text has
to be in saveable_obstack.
From-SVN: r5589
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/tree.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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; } |