diff options
-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; |