aboutsummaryrefslogtreecommitdiff
path: root/gcc/recog.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@gcc.gnu.org>2001-06-12 17:54:39 +0000
committerJan Hubicka <hubicka@gcc.gnu.org>2001-06-12 17:54:39 +0000
commit205a5b45503be8a8e165b0876082801917f7c240 (patch)
treee9dbe309e54469ff700db2ab5674610a50a6131b /gcc/recog.c
parent963943b0ee638c671ee3f918785b39dd8cd07377 (diff)
downloadgcc-205a5b45503be8a8e165b0876082801917f7c240.zip
gcc-205a5b45503be8a8e165b0876082801917f7c240.tar.gz
gcc-205a5b45503be8a8e165b0876082801917f7c240.tar.bz2
damn me,
now it must be correct. From-SVN: r43264
Diffstat (limited to 'gcc/recog.c')
-rw-r--r--gcc/recog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/recog.c b/gcc/recog.c
index a73d6d7..dd5318b 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