From: Jan Hubicka Date: Tue, 12 Jun 2001 17:06:18 +0000 (+0200) Subject: * recog.c (validate_replace_rtx_1): Fix previous patch. X-Git-Tag: prereleases/libstdc++-3.0.95~3810 X-Git-Url: https://gcc.gnu.org/git/?a=commitdiff_plain;h=963943b0ee638c671ee3f918785b39dd8cd07377;p=gcc.git * recog.c (validate_replace_rtx_1): Fix previous patch. From-SVN: r43263 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 17bc7abb108f..5228b4d79762 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 8da4a8420c7d..a73d6d7ccd5b 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