Commit bb31ce0a by Richard Kenner

(copy_constant, case CONSTRUCTOR): Fix typo; copied list was placed on

old CONSTRUCTOR, not new one.

From-SVN: r7157
parent 72f5a12b
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment