Commit 4b9ed9aa by Uros Bizjak

re PR rtl-optimization/42511 (bootstrap error in stage3 on alpha-linux-gnu)

	PR target/42511
	* ifcvt.c (dead_or_predicable): Also remove REG_EQUAL note when
	note itself is not function_invariant_p.

From-SVN: r155691
parent f50f5566
2010-01-07 Uros Bizjak <ubizjak@gmail.com>
PR target/42511
* ifcvt.c (dead_or_predicable): Also remove REG_EQUAL note when
note itself is not function_invariant_p.
2009-01-07 Steven Bosscher <steven@gcc.gnu.org> 2009-01-07 Steven Bosscher <steven@gcc.gnu.org>
* gcse.c (execute_rtl_cprop, execute_rtl_pre, execute_rtl_hoist): * gcse.c (execute_rtl_cprop, execute_rtl_pre, execute_rtl_hoist):
...@@ -84,7 +90,7 @@ ...@@ -84,7 +90,7 @@
and adjust call to legitimize_pic_address. and adjust call to legitimize_pic_address.
(sparc_output_mi_thunk): Likewise. (sparc_output_mi_thunk): Likewise.
2010-01-05 Paolo Bonzini <bonzinI@gnu.rg> 2010-01-05 Paolo Bonzini <bonzini@gnu.rg>
H.J. Lu <hongjiu.lu@intel.com> H.J. Lu <hongjiu.lu@intel.com>
PR target/42542 PR target/42542
......
...@@ -4087,7 +4087,8 @@ dead_or_predicable (basic_block test_bb, basic_block merge_bb, ...@@ -4087,7 +4087,8 @@ dead_or_predicable (basic_block test_bb, basic_block merge_bb,
if (! note) if (! note)
continue; continue;
set = single_set (insn); set = single_set (insn);
if (!set || !function_invariant_p (SET_SRC (set))) if (!set || !function_invariant_p (SET_SRC (set))
|| !function_invariant_p (XEXP (note, 0)))
remove_note (insn, note); remove_note (insn, note);
} while (insn != end && (insn = NEXT_INSN (insn))); } while (insn != end && (insn = NEXT_INSN (insn)));
......
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