diff options
Diffstat (limited to 'gcc/sched-ebb.c')
-rw-r--r-- | gcc/sched-ebb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/sched-ebb.c b/gcc/sched-ebb.c index b3e6c7a7265..c6dc55330d9 100644 --- a/gcc/sched-ebb.c +++ b/gcc/sched-ebb.c @@ -607,9 +607,9 @@ schedule_ebbs (void) a note or two. */ while (head != tail) { - if (NOTE_P (head)) + if (NOTE_P (head) || BOUNDARY_DEBUG_INSN_P (head)) head = NEXT_INSN (head); - else if (NOTE_P (tail)) + else if (NOTE_P (tail) || BOUNDARY_DEBUG_INSN_P (tail)) tail = PREV_INSN (tail); else if (LABEL_P (head)) head = NEXT_INSN (head); |