Commit 8ad0d964 by David Edelsohn Committed by David Edelsohn

rtlanal.c (refers_to_regno_p): Test regno, not inner_regno, against FIRST_PSEUDO_REGISTER.

        * rtlanal.c (refers_to_regno_p): Test regno, not inner_regno,
        against FIRST_PSEUDO_REGISTER.

From-SVN: r77128
parent e9525111
2004-02-02 David Edelsohn <edelsohn@gnu.org>
* rtlanal.c (refers_to_regno_p): Test regno, not inner_regno,
against FIRST_PSEUDO_REGISTER.
2004-02-02 Eric Botcazou <ebotcazou@libertysurf.fr> 2004-02-02 Eric Botcazou <ebotcazou@libertysurf.fr>
* doc/invoke.texi (SPARC options): Further improve. * doc/invoke.texi (SPARC options): Further improve.
......
...@@ -1449,7 +1449,7 @@ refers_to_regno_p (unsigned int regno, unsigned int endregno, rtx x, ...@@ -1449,7 +1449,7 @@ refers_to_regno_p (unsigned int regno, unsigned int endregno, rtx x,
{ {
unsigned int inner_regno = subreg_regno (x); unsigned int inner_regno = subreg_regno (x);
unsigned int inner_endregno unsigned int inner_endregno
= inner_regno + (inner_regno < FIRST_PSEUDO_REGISTER = inner_regno + (regno < FIRST_PSEUDO_REGISTER
? hard_regno_nregs[regno][GET_MODE (x)] : 1); ? hard_regno_nregs[regno][GET_MODE (x)] : 1);
return endregno > inner_regno && regno < inner_endregno; return endregno > inner_regno && regno < inner_endregno;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment