diff options
Diffstat (limited to 'gcc/jump.c')
-rw-r--r-- | gcc/jump.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/jump.c b/gcc/jump.c index 0378cf7c55e..85c1f6b2d75 100644 --- a/gcc/jump.c +++ b/gcc/jump.c @@ -248,6 +248,10 @@ squeeze_notes (rtx* startp, rtx* endp) || NOTE_LINE_NUMBER (insn) == NOTE_INSN_LOOP_BEG || NOTE_LINE_NUMBER (insn) == NOTE_INSN_LOOP_END)) { + /* BLOCK_BEG or BLOCK_END notes only exist in the `final' pass. */ + gcc_assert (NOTE_LINE_NUMBER (insn) != NOTE_INSN_BLOCK_BEG + && NOTE_LINE_NUMBER (insn) != NOTE_INSN_BLOCK_END); + if (insn == start) start = next; else |