Commit a3b5c94a by Brendan Kehoe

* cse.c (fold_rtx): Call itself with missing arg INSN as NULL_RTX.

From-SVN: r3214
parent 798d99ff
...@@ -5037,7 +5037,8 @@ fold_rtx (x, insn) ...@@ -5037,7 +5037,8 @@ fold_rtx (x, insn)
{ {
rtx y = lookup_as_function (XEXP (x, 0), PLUS); rtx y = lookup_as_function (XEXP (x, 0), PLUS);
if (y && GET_CODE (XEXP (y, 1)) == CONST_INT) if (y && GET_CODE (XEXP (y, 1)) == CONST_INT)
return fold_rtx (plus_constant (y, -INTVAL (const_arg1))); return fold_rtx (plus_constant (y, -INTVAL (const_arg1)),
NULL_RTX);
} }
/* ... fall through ... */ /* ... fall through ... */
......
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