Commit 93291dd2 by Richard Kenner

(movdi): Avoid memory sharing problem when in reload.

From-SVN: r10389
parent 8ed178d3
...@@ -3160,6 +3160,7 @@ ...@@ -3160,6 +3160,7 @@
if (reload_in_progress) if (reload_in_progress)
{ {
emit_move_insn (operands[0], XEXP (operands[1], 0)); emit_move_insn (operands[0], XEXP (operands[1], 0));
operands[1] = copy_rtx (operands[1]);
XEXP (operands[1], 0) = operands[0]; XEXP (operands[1], 0) = operands[0];
} }
else else
......
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