From: Richard Stallman Date: Sat, 26 Sep 1992 19:09:26 +0000 (+0000) Subject: (jump_optimize): When handling dispatch table that always X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0546e268358b519779e46f2c8132d34960550df6;p=gcc.git (jump_optimize): When handling dispatch table that always goes to the same place, verify previous insn exists. From-SVN: r2251 --- diff --git a/gcc/jump.c b/gcc/jump.c index f32e57ae242..21536b199e3 100644 --- a/gcc/jump.c +++ b/gcc/jump.c @@ -621,6 +621,7 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan) != XEXP (XVECEXP (pat, diff_vec_p, 0), 0)) break; if (i == len + && dispatch != 0 && GET_CODE (dispatch) == JUMP_INSN && JUMP_LABEL (dispatch) != 0 /* Don't mess with a casesi insn. */