aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-04-25 18:35:21 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-04-25 18:35:21 -0400
commitbb31ce0a4bb5f367b87663052b17f2d908070bea (patch)
tree26440806384900b8fa2b3a2f6887d9785bf9cd49 /gcc
parent72f5a12bcb9bec0c8f88b8b01c5cec18b8df5413 (diff)
downloadgcc-bb31ce0a4bb5f367b87663052b17f2d908070bea.zip
gcc-bb31ce0a4bb5f367b87663052b17f2d908070bea.tar.gz
gcc-bb31ce0a4bb5f367b87663052b17f2d908070bea.tar.bz2
(copy_constant, case CONSTRUCTOR): Fix typo; copied list was placed on
old CONSTRUCTOR, not new one. From-SVN: r7157
Diffstat (limited to 'gcc')
-rw-r--r--gcc/varasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index c08f46e..25ba2d1 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -2522,7 +2522,7 @@ copy_constant (exp)
tree list = copy_list (CONSTRUCTOR_ELTS (exp));
tree tail;
- CONSTRUCTOR_ELTS (exp) = list;
+ CONSTRUCTOR_ELTS (copy) = list;
for (tail = list; tail; tail = TREE_CHAIN (tail))
TREE_VALUE (tail) = copy_constant (TREE_VALUE (tail));