Commit 1b3b5765 by Bernd Schmidt Committed by Bernd Schmidt

Copy reg notes in eliminate_regs_in_insn.

From-SVN: r30372
parent 77355bd5
Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
* reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
* dwarf2out.c: Do not include ctype.h.
......
......@@ -3515,7 +3515,11 @@ eliminate_regs_in_insn (insn, replace)
and one is inside RTL that has been copied while the other is not. */
new_body = old_body;
if (! replace)
new_body = copy_insn (old_body);
{
new_body = copy_insn (old_body);
if (REG_NOTES (insn))
REG_NOTES (insn) = copy_insn_1 (REG_NOTES (insn));
}
PATTERN (insn) = new_body;
/* If we had a move insn but now we don't, rerecognize it. This will
......
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