diff options
author | kan <kan@FreeBSD.org> | 2003-02-10 05:57:03 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2003-02-10 05:57:03 +0000 |
commit | bb9b382fea4fa3d2fe33c4a9d966b363347afcef (patch) | |
tree | 3a7c89db0003b063b5dafd1f6e976cdf70346bda /contrib/gcc/recog.c | |
parent | 09014fac80bdcf5130fb2835c511337d9433d980 (diff) | |
download | FreeBSD-src-bb9b382fea4fa3d2fe33c4a9d966b363347afcef.zip FreeBSD-src-bb9b382fea4fa3d2fe33c4a9d966b363347afcef.tar.gz |
Update HEAD with stock GCC 3.2.2 release files.
Diffstat (limited to 'contrib/gcc/recog.c')
-rw-r--r-- | contrib/gcc/recog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/gcc/recog.c b/contrib/gcc/recog.c index d9848dd..41193db 100644 --- a/contrib/gcc/recog.c +++ b/contrib/gcc/recog.c @@ -507,10 +507,10 @@ validate_replace_rtx_1 (loc, from, to, object) { case PLUS: /* If we have a PLUS whose second operand is now a CONST_INT, use - plus_constant to try to simplify it. + simplify_gen_binary 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) + if (GET_CODE (XEXP (x, 1)) == CONST_INT && XEXP (x, 1) == to) validate_change (object, loc, simplify_gen_binary (PLUS, GET_MODE (x), XEXP (x, 0), XEXP (x, 1)), 1); |