against FIRST_PSEUDO_REGISTER.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77128
138bc75d-0d04-0410-961f-
82ee72b054a4
+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>
* doc/invoke.texi (SPARC options): Further improve.
{
unsigned int inner_regno = subreg_regno (x);
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);
return endregno > inner_regno && regno < inner_endregno;