From 9966a43024cfc311df3ac4a709e5fa0039e564bd Mon Sep 17 00:00:00 2001 From: sayle Date: Mon, 12 Feb 2007 04:19:42 +0000 Subject: [PATCH] * simplify-rtx.c (simplify_relational_operation_1): Correct typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121839 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/simplify-rtx.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + Matt Thomas + + * simplify-rtx.c (simplify_relational_operation_1): Correct typo. + +2007-02-11 Roger Sayle * 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: -- 2.7.4