simplify-rtx.c (simplify_const_relational_operation): Only look at bounds of scalar...
authorRichard Henderson <rth@redhat.com>
Sat, 10 Jul 2004 00:24:23 +0000 (17:24 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Sat, 10 Jul 2004 00:24:23 +0000 (17:24 -0700)
        * simplify-rtx.c (simplify_const_relational_operation): Only
        look at bounds of scalar integers.

From-SVN: r84427

gcc/ChangeLog
gcc/simplify-rtx.c

index 2f19f93628ab8c203a859ebf9b40c19f12789a13..245bf02c1c45feb50b4a4392f538bc6c84662ae2 100644 (file)
@@ -1,3 +1,8 @@
+2004-07-09  Richard Henderson  <rth@redhat.com>
+
+       * simplify-rtx.c (simplify_const_relational_operation): Only
+       look at bounds of scalar integers.
+
 2004-07-09 Jan Beulich <jbeulich@novell.com>
 
        * config/i386/i386.md (sse2_clflush): Use correct operand for clflush.
index 3789f3376c4ee5ae041edf15ce998d1b63728561..f40e6959e38a0941daa516e04970648f56c6c522 100644 (file)
@@ -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;