* flow.c (merge_blocks_nomove): Don't seek back past the bb note.

From-SVN: r35827
This commit is contained in:
Richard Henderson 2000-08-20 15:16:32 -07:00 committed by Richard Henderson
parent 8559f9bb2f
commit 7171b4910c
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2000-08-20 Richard Henderson <rth@cygnus.com>
* flow.c (merge_blocks_nomove): Don't seek back past the bb note.
2000-08-20 Zack Weinberg <zack@wolery.cumb.org>
* cppinit.c (cpp_init): Set global flag when called.

View file

@ -2209,7 +2209,9 @@ merge_blocks_nomove (a, b)
rtx prev;
for (prev = PREV_INSN (a_end); ; prev = PREV_INSN (prev))
if (GET_CODE (prev) != NOTE || prev == a->head)
if (GET_CODE (prev) != NOTE
|| NOTE_LINE_NUMBER (prev) == NOTE_INSN_BASIC_BLOCK
|| prev == a->head)
break;
del_first = a_end;