On Tue, Sep 6, 2011 at 11:31 PM, Steven Bosscher <stevenb....@gmail.com> wrote: > Index: haifa-sched.c > =================================================================== > --- haifa-sched.c (revision 178601) > +++ haifa-sched.c (working copy) > @@ -6071,7 +6071,10 @@ check_cfg (rtx head, rtx tail) > /* Or jump to the next instruction. */ > || (EDGE_COUNT (bb->succs) == 1 > && (BB_HEAD (EDGE_I (bb->succs, 0)->dest) > - == JUMP_LABEL (head)))); > + == JUMP_LABEL (head))) > + /* Or the jump is not just a jump. */ > + || (!onlyjump_p (head) > + || returnjump_p (head))); > } > if (BB_END (bb) == head) > { >
BTW that's one ugly gcc_assert. Candidate for gcc_checking_assert? Ciao! Steven