aboutsummaryrefslogtreecommitdiff
path: root/gcc/reload.c
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@redhat.co.uk>2000-09-11 13:13:00 +0000
committerBernd Schmidt <crux@gcc.gnu.org>2000-09-11 13:13:00 +0000
commite695931e414bab5105d78004a68bb5a0c00975cc (patch)
treeb68174ef2de6a74160d54796eaf588a4e3052f69 /gcc/reload.c
parent224e89835be44a760f5a83af75835095b73f8c19 (diff)
downloadgcc-e695931e414bab5105d78004a68bb5a0c00975cc.zip
gcc-e695931e414bab5105d78004a68bb5a0c00975cc.tar.gz
gcc-e695931e414bab5105d78004a68bb5a0c00975cc.tar.bz2
Fix obvious thinko
From-SVN: r36314
Diffstat (limited to 'gcc/reload.c')
-rw-r--r--gcc/reload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/reload.c b/gcc/reload.c
index d8abd39..848a40d 100644
--- a/gcc/reload.c
+++ b/gcc/reload.c
@@ -6560,7 +6560,7 @@ regno_clobbered_p (regno, insn, mode)
{
int test = REGNO (XEXP (PATTERN (insn), 0));
- return regno >= test && test < endregno;
+ return test >= regno && test < endregno;
}
if (GET_CODE (PATTERN (insn)) == PARALLEL)
@@ -6574,7 +6574,7 @@ regno_clobbered_p (regno, insn, mode)
{
int test = REGNO (XEXP (elt, 0));
- if (regno >= test && test < endregno)
+ if (test >= regno && test < endregno)
return 1;
}
}