Commit 7c2aa9d7 by Richard Henderson Committed by Richard Henderson

* cse.c (fold_rtx): Fix 03-30 change; do check insn non-null.

From-SVN: r65249
parent 0705a2a2
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment