Fix obvious thinko

From-SVN: r36314
This commit is contained in:
Bernd Schmidt 2000-09-11 13:13:00 +00:00 committed by Bernd Schmidt
parent 224e89835b
commit e695931e41
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2000-09-11 Bernd Schmidt <bernds@redhat.co.uk>
* reload.c (regno_clobbered_p): Fix thinko in previous change.
2000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* gcc.1: Document 68hc11 specific options.

View File

@ -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;
}
}