diff options
Diffstat (limited to 'gcc/cfgcleanup.c')
-rw-r--r-- | gcc/cfgcleanup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c index 9bf2b684f2d..bfc59ba22a5 100644 --- a/gcc/cfgcleanup.c +++ b/gcc/cfgcleanup.c @@ -182,10 +182,10 @@ try_simplify_condjump (basic_block cbranch_block) next = NEXT_INSN (insn); if (GET_CODE (insn) == NOTE && NOTE_LINE_NUMBER (insn) > 0) { - if (insn == end) + if (insn == jump_block->end) { jump_block->end = PREV_INSN (insn); - if (jump_block->end == end) + if (insn == end) break; } reorder_insns_nobb (insn, insn, end); |