re PR rtl-optimization/60116 (wrong code at -Os on x86_64-linux-gnu in 32-bit mode)
PR rtl-optimization/60116 * combine.c (try_combine): Fix oversight in previous change. From-SVN: r207716
This commit is contained in:
parent
283416b3fb
commit
491bdba30e
@ -3902,8 +3902,11 @@ try_combine (rtx i3, rtx i2, rtx i1, rtx i0, int *new_direct_jump_p,
|
||||
next = XEXP (note, 1);
|
||||
|
||||
if ((REG_NOTE_KIND (note) == REG_DEAD
|
||||
|| REG_NOTE_KIND (note) == REG_UNUSED)
|
||||
&& ! reg_set_p (XEXP (note, 0), PATTERN (undobuf.other_insn)))
|
||||
&& !reg_referenced_p (XEXP (note, 0),
|
||||
PATTERN (undobuf.other_insn)))
|
||||
||(REG_NOTE_KIND (note) == REG_UNUSED
|
||||
&& !reg_set_p (XEXP (note, 0),
|
||||
PATTERN (undobuf.other_insn))))
|
||||
remove_note (undobuf.other_insn, note);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user