mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-10 22:30:13 +08:00
Fix obvious thinko
From-SVN: r36314
This commit is contained in:
parent
224e89835b
commit
e695931e41
@ -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.
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user