diff options
author | Richard Henderson <rth@redhat.com> | 2003-04-04 13:49:42 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2003-04-04 13:49:42 -0800 |
commit | 7c2aa9d72cc0a0d39c44206f86ffca8f9f2c66bd (patch) | |
tree | 21261d8c51a5a6b70ff465141ba41a153560c567 | |
parent | 0705a2a26a8f761c0fa319adfae46e3cd0ade7be (diff) | |
download | gcc-7c2aa9d72cc0a0d39c44206f86ffca8f9f2c66bd.zip gcc-7c2aa9d72cc0a0d39c44206f86ffca8f9f2c66bd.tar.gz gcc-7c2aa9d72cc0a0d39c44206f86ffca8f9f2c66bd.tar.bz2 |
* cse.c (fold_rtx): Fix 03-30 change; do check insn non-null.
From-SVN: r65249
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cse.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c15b2c2..923d437 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-04-04 Richard Henderson <rth@redhat.com> + + * cse.c (fold_rtx): Fix 03-30 change; do check insn non-null. + 2003-04-04 Loren James Rittle <ljrittle@acm.org> * fixinc/inclhack.def (bsd_stdio_attrs_conflict): New. @@ -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; |