This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

fix alpha bootstrap


        * config/alpha/alpha.c (alpha_swapped_comparison_operator): Fix
        botched rtx class conversion.

Index: alpha.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/alpha/alpha.c,v
retrieving revision 1.354
diff -c -p -d -u -r1.354 alpha.c
--- alpha.c	3 Mar 2004 08:34:42 -0000	1.354
+++ alpha.c	6 Mar 2004 18:31:57 -0000
@@ -1137,7 +1137,7 @@ alpha_swapped_comparison_operator (rtx o
   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));


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]