diff --git a/gnu/dist/gcc/config/sh/sh.c b/gnu/dist/gcc/config/sh/sh.c index 34923495cf7e..860abff9127d 100644 --- a/gnu/dist/gcc/config/sh/sh.c +++ b/gnu/dist/gcc/config/sh/sh.c @@ -3203,8 +3203,8 @@ split_branches (first) if (beyond && (GET_CODE (beyond) == JUMP_INSN - || (GET_CODE (beyond = next_active_insn (beyond)) - == JUMP_INSN)) + || ((beyond = next_active_insn (beyond)) + && GET_CODE (beyond) == JUMP_INSN)) && GET_CODE (PATTERN (beyond)) == SET && recog_memoized (beyond) == CODE_FOR_jump && ((insn_addresses[INSN_UID (XEXP (SET_SRC (PATTERN (beyond)), 0))] diff --git a/gnu/dist/toolchain/gcc/config/sh/sh.c b/gnu/dist/toolchain/gcc/config/sh/sh.c index f50a055d557a..573961fbb448 100644 --- a/gnu/dist/toolchain/gcc/config/sh/sh.c +++ b/gnu/dist/toolchain/gcc/config/sh/sh.c @@ -3338,8 +3338,8 @@ split_branches (first) if (beyond && (GET_CODE (beyond) == JUMP_INSN - || (GET_CODE (beyond = next_active_insn (beyond)) - == JUMP_INSN)) + || ((beyond = next_active_insn (beyond)) + && GET_CODE (beyond) == JUMP_INSN)) && GET_CODE (PATTERN (beyond)) == SET && recog_memoized (beyond) == CODE_FOR_jump && ((insn_addresses[INSN_UID (XEXP (SET_SRC (PATTERN (beyond)), 0))]