summaryrefslogtreecommitdiff
path: root/gcc/jump.c
diff options
context:
space:
mode:
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-26 03:05:40 +0000
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-26 03:05:40 +0000
commita4589b78d83eb7b27997a5fe5afd8eaab902ec2e (patch)
tree528ae78f7e10b37399d1b8ddea63ecb542811b27 /gcc/jump.c
parent982c684c016e0427146888f7c01b59f8dc3aeb26 (diff)
downloadgcc-a4589b78d83eb7b27997a5fe5afd8eaab902ec2e.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63446 138bc75d-0d04-0410-961f-82ee72b054a4
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 b4e0d1c043f..e18abef51a7 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.