From 19a093aa77efd4ab54d06de3393fae6f6835e573 Mon Sep 17 00:00:00 2001
From: hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Tue, 12 Jun 2001 17:54:39 +0000
Subject: [PATCH] damn me, now it must be correct.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43264 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/recog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/recog.c b/gcc/recog.c
index a73d6d7ccd5b..dd5318ba476c 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), XEXP (x, 1)), 1);
+			 plus_constant (XEXP (x, 0), INTVAL (XEXP (x, 1))), 1);
       break;
     case MINUS:
       if (GET_CODE (XEXP (x, 1)) == CONST_INT
-- 
GitLab