diff options
Diffstat (limited to 'gcc/cfganal.c')
-rw-r--r-- | gcc/cfganal.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/cfganal.c b/gcc/cfganal.c index 46c4758d3e7..f70c6c7b2fc 100644 --- a/gcc/cfganal.c +++ b/gcc/cfganal.c @@ -87,7 +87,10 @@ can_fallthru (src, target) rtx insn = src->end; rtx insn2 = target->head; - if (src->index + 1 == target->index && !active_insn_p (insn2)) + if (src->index + 1 != target->index) + return 0; + + if (!active_insn_p (insn2)) insn2 = next_active_insn (insn2); /* ??? Later we may add code to move jump tables offline. */ |