Message ID | AM4PR0701MB216244D6F83C50AF652AC640E4CD0@AM4PR0701MB2162.eurprd07.prod.outlook.com |
---|---|
State | New |
Headers | show |
On 09/26/2016 09:55 AM, Bernd Edlinger wrote: > Bootstrapped and reg-tested on x86_64-pc-linux-gnu. > Is it OK for trunk? > > > Yes. Thank you for working on the problem, Bernd.
2016-09-26 Bernd Edlinger <bernd.edlinger@hotmail.de> PR rlt-optimization/77714 * lra-eliminations.c (eliminate_regs_in_insn): Avoid alias on REG_EQUAL note. Index: gcc/lra-eliminations.c =================================================================== --- gcc/lra-eliminations.c (revision 240471) +++ gcc/lra-eliminations.c (working copy) @@ -981,7 +981,7 @@ eliminate_regs_in_insn (rtx_insn *insn, bool repla } lra_update_insn_recog_data (insn); /* Add offset note for future updates. */ - add_reg_note (insn, REG_EQUAL, src); + add_reg_note (insn, REG_EQUAL, copy_rtx (src)); return; } }