From: Richard Kenner Date: Fri, 22 Sep 1995 22:24:28 +0000 (-0400) Subject: (movdi): Avoid memory sharing problem when in reload. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=93291dd23c6177ed9c3a9738f22d7093baaf2b40;p=gcc.git (movdi): Avoid memory sharing problem when in reload. From-SVN: r10389 --- diff --git a/gcc/config/alpha/alpha.md b/gcc/config/alpha/alpha.md index 944529cedd5..2f8098b072a 100644 --- a/gcc/config/alpha/alpha.md +++ b/gcc/config/alpha/alpha.md @@ -3160,6 +3160,7 @@ if (reload_in_progress) { emit_move_insn (operands[0], XEXP (operands[1], 0)); + operands[1] = copy_rtx (operands[1]); XEXP (operands[1], 0) = operands[0]; } else