projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72f5a12
)
(copy_constant, case CONSTRUCTOR): Fix typo; copied list was placed on
author
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 25 Apr 1994 22:35:21 +0000
(18:35 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 25 Apr 1994 22:35:21 +0000
(18:35 -0400)
old CONSTRUCTOR, not new one.
From-SVN: r7157
gcc/varasm.c
patch
|
blob
|
history
diff --git
a/gcc/varasm.c
b/gcc/varasm.c
index c08f46e61ec4b57acfa2258cc0eda032e0e87c11..25ba2d179f2436b76ce910048a0d45021d5cb887 100644
(file)
--- 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));