alpha.c (alpha_swapped_comparison_operator): Fix botched rtx class conversion.
authorRichard Henderson <rth@redhat.com>
Sat, 6 Mar 2004 18:33:33 +0000 (10:33 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Sat, 6 Mar 2004 18:33:33 +0000 (10:33 -0800)
        * config/alpha/alpha.c (alpha_swapped_comparison_operator): Fix
        botched rtx class conversion.

From-SVN: r79025

gcc/ChangeLog
gcc/config/alpha/alpha.c

index 84824f90f8f8f0f630167bbc18ad609d5aea0197..a0e8036fd25947c3278ebaf476404b0b3e8652c2 100644 (file)
@@ -1,3 +1,8 @@
+2004-03-06  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/alpha.c (alpha_swapped_comparison_operator): Fix
+       botched rtx class conversion.
+
 2004-03-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * tree.h (BUILTIN_EXP10_P, BUILTIN_EXPONENT_P, BUILTIN_SQRT_P,
index 0e534f35678a56573b5804bc0970540b03a250f3..67154e1fc1d4be243669daaaead435e2c6a1ba0a 100644 (file)
@@ -1137,7 +1137,7 @@ alpha_swapped_comparison_operator (rtx op, enum machine_mode mode)
   enum rtx_code code;
 
   if ((mode != GET_MODE (op) && mode != VOIDmode)
-      || COMPARISON_P (op));
+      || !COMPARISON_P (op))
     return 0;
 
   code = swap_condition (GET_CODE (op));