From: Richard Kenner Date: Sat, 2 Oct 1993 18:03:56 +0000 (-0400) Subject: (build_string): Make lifetime of string the same as tree node. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3cd252c3204b88d0f862ce2e2dd9b5ece16a151f;p=gcc.git (build_string): Make lifetime of string the same as tree node. From-SVN: r5558 --- diff --git a/gcc/tree.c b/gcc/tree.c index 7fd8296f229..c348bf8af22 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -1254,7 +1254,7 @@ build_string (len, str) { register tree s = make_node (STRING_CST); TREE_STRING_LENGTH (s) = len; - TREE_STRING_POINTER (s) = obstack_copy0 (saveable_obstack, str, len); + TREE_STRING_POINTER (s) = obstack_copy0 (expression_obstack, str, len); return s; }