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

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

From-SVN: r79025
This commit is contained in:
Richard Henderson 2004-03-06 10:33:33 -08:00 committed by Richard Henderson
parent e7cbef19ae
commit b9c685aecd
2 changed files with 6 additions and 1 deletions

View 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,

View 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));