Commit 491bdba3 by Eric Botcazou

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
parent 283416b3
......@@ -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);
}
......
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