* ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
the sequence we're moving, not to merge_bb->head.
From-SVN: r33605
+2000-05-01 Richard Henderson <rth@cygnus.com>
+
+ * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
+ the sequence we're moving, not to merge_bb->head.
+
2000-05-01 Richard Henderson <rth@cygnus.com>
* configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
}
/* Move the insns out of MERGE_BB to before the branch. */
- if (end == merge_bb->end)
- merge_bb->end = merge_bb->head;
if (head != NULL)
{
+ if (end == merge_bb->end)
+ merge_bb->end = PREV_INSN (head);
+
head = squeeze_notes (head, end);
if (GET_CODE (end) == NOTE
&& (NOTE_LINE_NUMBER (end) == NOTE_INSN_BLOCK_END