From: Richard Henderson Date: Sat, 6 Mar 2004 18:33:33 +0000 (-0800) Subject: alpha.c (alpha_swapped_comparison_operator): Fix botched rtx class conversion. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b9c685aecdb00afe0bddc8e752e716b507ded638;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 84824f90f8f..a0e8036fd25 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-03-06 Richard Henderson + + * config/alpha/alpha.c (alpha_swapped_comparison_operator): Fix + botched rtx class conversion. + 2004-03-06 Kaveh R. Ghazi * tree.h (BUILTIN_EXP10_P, BUILTIN_EXPONENT_P, BUILTIN_SQRT_P, diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index 0e534f35678..67154e1fc1d 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -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));