aboutsummaryrefslogtreecommitdiff
path: root/gcc/cse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cse.c')
-rw-r--r--gcc/cse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cse.c b/gcc/cse.c
index 94eb8d0..4109b58 100644
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -3354,7 +3354,7 @@ fold_rtx (x, insn)
lets us fold switch statements on the VAX. */
{
rtx next;
- if (tablejump_p (insn, &next, NULL))
+ if (insn && tablejump_p (insn, &next, NULL))
return gen_rtx_LABEL_REF (Pmode, next);
}
break;