diff options
Diffstat (limited to 'gcc/reorg.c')
-rw-r--r-- | gcc/reorg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c index 6d0db45a37d..43ba3219422 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -384,7 +384,7 @@ find_end_label (void) /* If the basic block reorder pass moves the return insn to some other place try to locate it again and put our end_of_function_label there. */ - while (insn && ! (GET_CODE (insn) == JUMP_INSN + while (insn && ! (JUMP_P (insn) && (GET_CODE (PATTERN (insn)) == RETURN))) insn = PREV_INSN (insn); if (insn) |