summaryrefslogtreecommitdiff
path: root/gcc/simplify-rtx.c
diff options
context:
space:
mode:
authornemet <nemet@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-25 21:58:01 +0000
committernemet <nemet@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-25 21:58:01 +0000
commit3bc6a7cebdd6ce7091000483a44ba896edafbb7e (patch)
tree908b1fb6cce26744b4bb426964c01c926224a44b /gcc/simplify-rtx.c
parentbd6bf970b4236474ba12165ddb37c57e6c57d01c (diff)
downloadgcc-3bc6a7cebdd6ce7091000483a44ba896edafbb7e.tar.gz
* simplify-rtx.c (simplify_relational_operation): Call
simplify_relational_operation_1 even if mode is VOIDmode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112383 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r--gcc/simplify-rtx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c
index e00e9ccca10..cac77ad1fce 100644
--- a/gcc/simplify-rtx.c
+++ b/gcc/simplify-rtx.c
@@ -3517,8 +3517,7 @@ simplify_relational_operation (enum rtx_code code, enum machine_mode mode,
return simplify_relational_operation (code, mode, VOIDmode,
XEXP (op0, 0), XEXP (op0, 1));
- if (mode == VOIDmode
- || GET_MODE_CLASS (cmp_mode) == MODE_CC
+ if (GET_MODE_CLASS (cmp_mode) == MODE_CC
|| CC0_P (op0))
return NULL_RTX;