(movdi): Avoid memory sharing problem when in reload.
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 22 Sep 1995 22:24:28 +0000 (18:24 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 22 Sep 1995 22:24:28 +0000 (18:24 -0400)
From-SVN: r10389

gcc/config/alpha/alpha.md

index 944529cedd5fba5e5f3ef05ccbdd6db219981fd6..2f8098b072ae27d31e431979922387c8f4a133dd 100644 (file)
       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