(eliminate_regs_in_insn): Test old_body, not new_body, since
authorRichard Stallman <rms@gnu.org>
Wed, 16 Dec 1992 03:28:06 +0000 (03:28 +0000)
committerRichard Stallman <rms@gnu.org>
Wed, 16 Dec 1992 03:28:06 +0000 (03:28 +0000)
people have tested it that way.

From-SVN: r2879

gcc/reload1.c

index 6175b3c42b35fc631364c946b0ad8b72c3cbc486..75738ef98bfe1b9097b546517e42ec7680c5a0dd 100644 (file)
@@ -3003,7 +3003,7 @@ eliminate_regs_in_insn (insn, replace)
 
       /* Don't copy an asm_operands because (1) there's no need and (2)
         copy_rtx can't do it properly when there are multiple outputs.  */
-      if (! replace && asm_noperands (new_body) < 0)
+      if (! replace && asm_noperands (old_body) < 0)
        new_body = copy_rtx (new_body);
 
       /* If we had a move insn but now we don't, rerecognize it.  */