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

From-SVN: r3214
This commit is contained in:
Brendan Kehoe 1993-01-12 18:31:09 -05:00
parent 798d99ff90
commit a3b5c94a75
1 changed files with 2 additions and 1 deletions

View File

@ -5037,7 +5037,8 @@ fold_rtx (x, insn)
{
rtx y = lookup_as_function (XEXP (x, 0), PLUS);
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 ... */