From 0546e268358b519779e46f2c8132d34960550df6 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sat, 26 Sep 1992 19:09:26 +0000 Subject: [PATCH] (jump_optimize): When handling dispatch table that always goes to the same place, verify previous insn exists. From-SVN: r2251 --- gcc/jump.c | 1 + 1 file changed, 1 insertion(+) 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. */ -- 2.30.2