* simplify-rtx.c (simplify_ternary_operation): Try to simplify
IF_THEN_ELSE to a setcc form.
+ * jump.c (can_reverse_comparison_p): Be prepared for insn null.
2000-05-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
#endif
)
{
- rtx prev = prev_nonnote_insn (insn);
- rtx set;
+ rtx prev, set;
/* First see if the condition code mode alone if enough to say we can
reverse the condition. If not, then search backwards for a set of
&& REVERSIBLE_CC_MODE (GET_MODE (arg0)))
return 1;
#endif
+
+ if (! insn)
+ return 0;
for (prev = prev_nonnote_insn (insn);
prev != 0 && GET_CODE (prev) != CODE_LABEL;