diff options
author | Roger Sayle <roger@eyesopen.com> | 2003-02-26 03:05:40 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2003-02-26 03:05:40 +0000 |
commit | 8beccec86d944d599dd4598ab607c2f747327967 (patch) | |
tree | 528ae78f7e10b37399d1b8ddea63ecb542811b27 /gcc/loop.c | |
parent | b052d8ee4d954827cac504052ede36053543a2a4 (diff) | |
download | gcc-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/loop.c')
-rw-r--r-- | gcc/loop.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1,6 +1,6 @@ /* Perform various loop optimizations, including strength reduction. Copyright (C) 1987, 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, - 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. + 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. This file is part of GCC. @@ -9442,11 +9442,9 @@ canonicalize_condition (insn, cond, reverse, earliest, want_reg) } } -#ifdef HAVE_cc0 /* Never return CC0; return zero instead. */ - if (op0 == cc0_rtx) + if (CC0_P (op0)) return 0; -#endif return gen_rtx_fmt_ee (code, VOIDmode, op0, op1); } |