diff options
author | Roger Sayle <roger@eyesopen.com> | 2007-02-12 04:19:42 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2007-02-12 04:19:42 +0000 |
commit | 2376c58f220d3ac8860d1f295e051e27cf2b0721 (patch) | |
tree | 0c7c1ab7304cdb0feee340b3064da070f78b2c79 /gcc | |
parent | 69fce32ff9c8ef7bcc4557253798979118d96b43 (diff) | |
download | gcc-2376c58f220d3ac8860d1f295e051e27cf2b0721.zip gcc-2376c58f220d3ac8860d1f295e051e27cf2b0721.tar.gz gcc-2376c58f220d3ac8860d1f295e051e27cf2b0721.tar.bz2 |
simplify-rtx.c (simplify_relational_operation_1): Correct typo.
* simplify-rtx.c (simplify_relational_operation_1): Correct typo.
Co-Authored-By: Matt Thomas <matt@3am-software.com>
From-SVN: r121839
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/simplify-rtx.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a5f9960..ace8eed 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,9 @@ 2007-02-11 Roger Sayle <roger@eyesopen.com> + Matt Thomas <matt@3am-software.com> + + * simplify-rtx.c (simplify_relational_operation_1): Correct typo. + +2007-02-11 Roger Sayle <roger@eyesopen.com> * simplify-rtx.c (simplify_relational_operation_1): Optimize comparisons of POPCOUNT against zero. diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index 6f7c37d..f8e613d 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -3816,7 +3816,7 @@ simplify_relational_operation_1 (enum rtx_code code, enum machine_mode mode, case GT: case GTU: /* (ne (popcount x) (const_int 0)) -> (ne x (const_int 0)). */ - return simplify_gen_relational (EQ, mode, GET_MODE (XEXP (op0, 0)), + return simplify_gen_relational (NE, mode, GET_MODE (XEXP (op0, 0)), XEXP (op0, 0), const0_rtx); default: |