mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-08 03:56:43 +08:00
ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before the sequence we're moving...
* 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
This commit is contained in:
parent
3b54e10b04
commit
15ac7707bc
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1935,10 +1935,11 @@ dead_or_predicable (test_bb, merge_bb, other_bb, new_dest, reversep)
|
||||
}
|
||||
|
||||
/* 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
|
||||
|
Loading…
Reference in New Issue
Block a user