diff options
| author | Jan Hubicka <jh@suse.cz> | 2001-06-12 19:06:18 +0200 |
|---|---|---|
| committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2001-06-12 17:06:18 +0000 |
| commit | 963943b0ee638c671ee3f918785b39dd8cd07377 (patch) | |
| tree | ec7f13b2f2c87815b7afb00a1d21fca3560bcf98 /gcc/recog.c | |
| parent | 5fecb528688715f1ba0663a2c714a4a7ccc9149b (diff) | |
| download | gcc-963943b0ee638c671ee3f918785b39dd8cd07377.zip gcc-963943b0ee638c671ee3f918785b39dd8cd07377.tar.gz gcc-963943b0ee638c671ee3f918785b39dd8cd07377.tar.bz2 | |
* recog.c (validate_replace_rtx_1): Fix previous patch.
From-SVN: r43263
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 8da4a84..a73d6d7 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), INTVAL (to)), 1); + plus_constant (XEXP (x, 0), XEXP (x, 1)), 1); break; case MINUS: if (GET_CODE (XEXP (x, 1)) == CONST_INT |
