This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
fix alpha bootstrap
- From: Richard Henderson <rth at twiddle dot net>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 6 Mar 2004 10:34:03 -0800
- Subject: 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));