summaryrefslogtreecommitdiff
path: root/gcc/simplify-rtx.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-10 00:24:23 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-10 00:24:23 +0000
commit55f81c2b98009a5d947d35ece883249d86e62070 (patch)
tree69c193dfea1077c9ae665c55a747e1739fc8ce21 /gcc/simplify-rtx.c
parentcbd34919cf108309f90364894413fcf96d70426b (diff)
downloadgcc-55f81c2b98009a5d947d35ece883249d86e62070.tar.gz
* 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
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r--gcc/simplify-rtx.c2
1 files changed, 1 insertions, 1 deletions
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;