aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop.c
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1995-01-05 17:37:00 +0000
committerDoug Evans <dje@gnu.org>1995-01-05 17:37:00 +0000
commita18b5d986c46258e4290d86005195e89522a480d (patch)
tree3882beeaa3ee985c54123c04d4d2495773872070 /gcc/loop.c
parentfd745145e2d00becd432abe6f968458ddf819b3b (diff)
downloadgcc-a18b5d986c46258e4290d86005195e89522a480d.zip
gcc-a18b5d986c46258e4290d86005195e89522a480d.tar.gz
gcc-a18b5d986c46258e4290d86005195e89522a480d.tar.bz2
(get_condition): Use CONST0_RTX instead of const0_rtx.
From-SVN: r8721
Diffstat (limited to 'gcc/loop.c')
-rw-r--r--gcc/loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/loop.c b/gcc/loop.c
index 885a7f4..bb48a9e 100644
--- a/gcc/loop.c
+++ b/gcc/loop.c
@@ -6397,7 +6397,7 @@ get_condition (jump, earliest)
the same tests as a function of STORE_FLAG_VALUE as find_comparison_args
in cse.c */
- while (GET_RTX_CLASS (code) == '<' && op1 == const0_rtx)
+ while (GET_RTX_CLASS (code) == '<' && op1 == CONST0_RTX (GET_MODE (op0)))
{
/* Set non-zero when we find something of interest. */
rtx x = 0;