diff options
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c index 8f383f067c2..8b97be07004 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -6699,7 +6699,7 @@ thread_prologue_and_epilogue_insns (f) continue; jump = bb->end; - if (GET_CODE (jump) != JUMP_INSN) + if ((GET_CODE (jump) != JUMP_INSN) || JUMP_LABEL (jump) != label) continue; /* If we have an unconditional jump, we can replace that |