aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/alpha
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-03-06 10:33:33 -0800
committerRichard Henderson <rth@gcc.gnu.org>2004-03-06 10:33:33 -0800
commitb9c685aecdb00afe0bddc8e752e716b507ded638 (patch)
treeb3cca0ddb51a37a60977e9bc02dd2938b806f939 /gcc/config/alpha
parente7cbef19ae6a2507e33056ba9fbbc6e8a7683e72 (diff)
downloadgcc-b9c685aecdb00afe0bddc8e752e716b507ded638.zip
gcc-b9c685aecdb00afe0bddc8e752e716b507ded638.tar.gz
gcc-b9c685aecdb00afe0bddc8e752e716b507ded638.tar.bz2
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
Diffstat (limited to 'gcc/config/alpha')
-rw-r--r--gcc/config/alpha/alpha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c
index 0e534f3..67154e1 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));