]> gcc.gnu.org Git - gcc.git/commitdiff
(copy_constant, case CONSTRUCTOR): Fix typo; copied list was placed on
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 25 Apr 1994 22:35:21 +0000 (18:35 -0400)
committerRichard 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

index c08f46e61ec4b57acfa2258cc0eda032e0e87c11..25ba2d179f2436b76ce910048a0d45021d5cb887 100644 (file)
@@ -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));
 
This page took 0.068975 seconds and 5 git commands to generate.