From 55f81c2b98009a5d947d35ece883249d86e62070 Mon Sep 17 00:00:00 2001 From: rth Date: Sat, 10 Jul 2004 00:24:23 +0000 Subject: [PATCH] * simplify-rtx.c (simplify_const_relational_operation): Only look at bounds of scalar integers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84427 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 2f19f93628a..245bf02c1c4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-07-09 Richard Henderson + + * simplify-rtx.c (simplify_const_relational_operation): Only + look at bounds of scalar integers. + 2004-07-09 Jan Beulich * config/i386/i386.md (sse2_clflush): Use correct operand for clflush. diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index 3789f3376c4..f40e6959e38 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -2974,7 +2974,7 @@ simplify_const_relational_operation (enum rtx_code code, else { /* Optimize comparisons with upper and lower bounds. */ - if (INTEGRAL_MODE_P (mode) + if (SCALAR_INT_MODE_P (mode) && GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_WIDE_INT) { rtx mmin, mmax; -- 2.11.4.GIT