* recog.c (validate_replace_rtx_1): Do plus_constant call always.
authorJan Hubicka <jh@suse.cz>
Tue, 12 Jun 2001 15:26:49 +0000 (17:26 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 12 Jun 2001 15:26:49 +0000 (15:26 +0000)
From-SVN: r43262

gcc/ChangeLog
gcc/recog.c

index 2663daeb95d5e095bc98a345def64d483451c651..17bc7abb108f2940c7c9a30f54bdf8e705c1cd22 100644 (file)
@@ -1,3 +1,7 @@
+Tue Jun 12 17:25:39 CEST 2001  Jan Hubicka  <jh@suse.cz>
+
+       * recog.c (validate_replace_rtx_1): Do plus_constant call always.
+
 Tue Jun 12 17:24:07 CEST 2001  Jan Hubicka  <jh@suse.cz>
 
        * simplify-rtx.c (simplify_subreg): Allow volatile memory
index c823ea1f0d29455fb8f6be2e3c27e2551ae35447..8da4a8420c7de0ad06a89c42e2e322cc072b161a 100644 (file)
@@ -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;