[Bug rtl-optimization/42511] [4.5 Regression] bootstrap error in stage3 on alpha-linux-gnu
------- Comment #26 from ubizjak at gmail dot com 2010-01-07 09:23 -------
Oops, brain dump error. This is correct:
Index: ifcvt.c
===================================================================
--- ifcvt.c (revision 155686)
+++ ifcvt.c (working copy)
@@ -4087,7 +4087,8 @@ dead_or_predicable (basic_block test_bb,
if (! note)
continue;
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);
} while (insn != end && (insn = NEXT_INSN (insn)));
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42511
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
Reply to: