summaryrefslogtreecommitdiff
path: root/gcc/cse.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-04 21:49:42 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-04 21:49:42 +0000
commitd10338f7a1281bf91ec7b1be0593514aca955d5a (patch)
tree21261d8c51a5a6b70ff465141ba41a153560c567 /gcc/cse.c
parentdd21ceeef0ac419e7dbe8183ef725bcf0dd02bd0 (diff)
downloadgcc-d10338f7a1281bf91ec7b1be0593514aca955d5a.tar.gz
* cse.c (fold_rtx): Fix 03-30 change; do check insn non-null.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65249 138bc75d-0d04-0410-961f-82ee72b054a4
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 94eb8d00188..4109b58a868 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;