diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-04-25 22:35:21 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-04-25 22:35:21 +0000 |
commit | 9cfd9acda712c6196b8ff4910fb285a2b7980fae (patch) | |
tree | 26440806384900b8fa2b3a2f6887d9785bf9cd49 /gcc/varasm.c | |
parent | 408ea82aa261c315f631ba53507b0a0338d30058 (diff) | |
download | gcc-9cfd9acda712c6196b8ff4910fb285a2b7980fae.tar.gz |
(copy_constant, case CONSTRUCTOR): Fix typo; copied list was placed on
old CONSTRUCTOR, not new one.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7157 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r-- | gcc/varasm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index c08f46e61ec..25ba2d179f2 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)); |