(eliminate_regs_in_insn): Don't recopy new_body if it is an asm_operands insn.

From-SVN: r2877
This commit is contained in:
Richard Stallman 1992-12-16 01:30:36 +00:00
parent 262121f070
commit 4d411872e3
1 changed files with 3 additions and 1 deletions

View File

@ -3001,7 +3001,9 @@ eliminate_regs_in_insn (insn, replace)
things can go wrong if find_reload swaps commutative operands
and one is inside RTL that has been copied while the other is not. */
if (! 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)
new_body = copy_rtx (new_body);
/* If we had a move insn but now we don't, rerecognize it. */