http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56023
--- Comment #9 from Uros Bizjak <ubizjak at gmail dot com> 2013-01-19 19:46:12
UTC ---
Following patch fixes bootstrap comparison failure:
--cut here--
Index: haifa-sched.c
===================================================================
--- haifa-sched.c (revision 195276)
+++ haifa-sched.c (working copy)
@@ -3684,6 +3684,9 @@ fix_inter_tick (rtx head, rtx tail)
INSN_TICK (head) = tick;
}
+ if (DEBUG_INSN_P (head))
+ continue;
+
FOR_EACH_DEP (head, SD_LIST_RES_FORW, sd_it, dep)
{
rtx next;
--cut here--
We should not update tick status of instructions, dependent on debug insn.