From: Jan Hubicka Date: Tue, 12 Jun 2001 15:26:49 +0000 (+0200) Subject: * recog.c (validate_replace_rtx_1): Do plus_constant call always. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5fecb528688715f1ba0663a2c714a4a7ccc9149b;p=gcc.git * recog.c (validate_replace_rtx_1): Do plus_constant call always. From-SVN: r43262 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2663daeb95d..17bc7abb108 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Tue Jun 12 17:25:39 CEST 2001 Jan Hubicka + + * recog.c (validate_replace_rtx_1): Do plus_constant call always. + Tue Jun 12 17:24:07 CEST 2001 Jan Hubicka * simplify-rtx.c (simplify_subreg): Allow volatile memory diff --git a/gcc/recog.c b/gcc/recog.c index c823ea1f0d2..8da4a8420c7 100644 --- a/gcc/recog.c +++ b/gcc/recog.c @@ -510,7 +510,7 @@ validate_replace_rtx_1 (loc, from, to, object) plus_constant to try to simplify it. ??? We may want later to remove this, once simplification is separated from this function. */ - if (GET_CODE (XEXP (x, 1)) == CONST_INT && XEXP (x, 1) == to) + if (GET_CODE (XEXP (x, 1)) == CONST_INT) validate_change (object, loc, plus_constant (XEXP (x, 0), INTVAL (to)), 1); break;