From bb31ce0a4bb5f367b87663052b17f2d908070bea Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 25 Apr 1994 18:35:21 -0400 Subject: [PATCH] (copy_constant, case CONSTRUCTOR): Fix typo; copied list was placed on old CONSTRUCTOR, not new one. From-SVN: r7157 --- gcc/varasm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.30.2