aboutsummaryrefslogtreecommitdiff
path: root/gcc/jump.c
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2003-02-26 03:05:40 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2003-02-26 03:05:40 +0000
commit8beccec86d944d599dd4598ab607c2f747327967 (patch)
tree528ae78f7e10b37399d1b8ddea63ecb542811b27 /gcc/jump.c
parentb052d8ee4d954827cac504052ede36053543a2a4 (diff)
downloadgcc-8beccec86d944d599dd4598ab607c2f747327967.zip
gcc-8beccec86d944d599dd4598ab607c2f747327967.tar.gz
gcc-8beccec86d944d599dd4598ab607c2f747327967.tar.bz2
combine.c (combine_simplify_rtx, [...]): Use CC0_P.
* combine.c (combine_simplify_rtx, simplfy_comparison): Use CC0_P. * cse.c (invalidate_skipped_set): Likewise. * integrate.c (subst_constants): Likewise. * jump.c (reversed_comparison_code_parts): Likewise. * loop.c (canonicalize_condition): Likewise. * simplify-rtx.c (simplify_relational_operation): Likewise. From-SVN: r63446
Diffstat (limited to 'gcc/jump.c')
-rw-r--r--gcc/jump.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/jump.c b/gcc/jump.c
index b4e0d1c..e18abef 100644
--- a/gcc/jump.c
+++ b/gcc/jump.c
@@ -701,11 +701,7 @@ reversed_comparison_code_parts (code, arg0, arg1, insn)
break;
}
- if (GET_MODE_CLASS (mode) == MODE_CC
-#ifdef HAVE_cc0
- || arg0 == cc0_rtx
-#endif
- )
+ if (GET_MODE_CLASS (mode) == MODE_CC || CC0_P (arg0))
{
rtx prev;
/* Try to search for the comparison to determine the real mode.