aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family/c-common.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-family/c-common.cc')
-rw-r--r--gcc/c-family/c-common.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-family/c-common.cc b/gcc/c-family/c-common.cc
index 54e16f7..f2eed03 100644
--- a/gcc/c-family/c-common.cc
+++ b/gcc/c-family/c-common.cc
@@ -10296,6 +10296,7 @@ braced_list_to_string (tree type, tree ctor, bool member)
j = i - start;
else
j -= start;
+ value = copy_node (value);
RAW_DATA_POINTER (value) -= start;
RAW_DATA_LENGTH (value) += start + end;
i += end;