diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-06-12 15:26:49 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-06-12 15:26:49 +0000 |
commit | 761e9525917672eecdb7cb1cbe4dea2104640b0e (patch) | |
tree | 5bf383403881e080a7153ac098a418751d37e9ee /gcc/recog.c | |
parent | ced2face734da4c1473225e46e74bf11020ea860 (diff) | |
download | gcc-761e9525917672eecdb7cb1cbe4dea2104640b0e.tar.gz |
* recog.c (validate_replace_rtx_1): Do plus_constant call always.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43262 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/recog.c')
-rw-r--r-- | gcc/recog.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |