diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 17bc7abb108..5228b4d7976 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Tue Jun 12 19:01:43 CEST 2001 Jan Hubicka + + * recog.c (validate_replace_rtx_1): Fix previous patch. + Tue Jun 12 17:25:39 CEST 2001 Jan Hubicka * recog.c (validate_replace_rtx_1): Do plus_constant call always. diff --git a/gcc/recog.c b/gcc/recog.c index 8da4a8420c7..a73d6d7ccd5 100644 --- a/gcc/recog.c +++ b/gcc/recog.c @@ -512,7 +512,7 @@ validate_replace_rtx_1 (loc, from, to, object) separated from this function. */ if (GET_CODE (XEXP (x, 1)) == CONST_INT) validate_change (object, loc, - plus_constant (XEXP (x, 0), INTVAL (to)), 1); + plus_constant (XEXP (x, 0), XEXP (x, 1)), 1); break; case MINUS: if (GET_CODE (XEXP (x, 1)) == CONST_INT