function.c (purge_single_hard_subreg_set): Only check REGNO if the subreg was a hard register.
2001-04-10 Andrew MacLeod <amacleod@redhat.com> * function.c (purge_single_hard_subreg_set): Only check REGNO if the subreg was a hard register. Pseudos are left as subregs. From-SVN: r41217
This commit is contained in:
parent
fa9518de02
commit
55107ee39c
@ -1,3 +1,8 @@
|
||||
2001-04-10 Andrew MacLeod <amacleod@redhat.com>
|
||||
|
||||
* function.c (purge_single_hard_subreg_set): Only check REGNO if
|
||||
the subreg was a hard register. Pseudos are left as subregs.
|
||||
|
||||
2001-04-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
|
||||
|
||||
* Makefile.in (LIB2FUNCS_STATIC_EXTRA): New macro.
|
||||
|
@ -3456,7 +3456,7 @@ purge_single_hard_subreg_set (pattern)
|
||||
}
|
||||
|
||||
|
||||
if (REGNO (reg) < FIRST_PSEUDO_REGISTER)
|
||||
if (GET_CODE (reg) == REG && REGNO (reg) < FIRST_PSEUDO_REGISTER)
|
||||
{
|
||||
reg = gen_rtx_REG (mode, REGNO (reg) + offset);
|
||||
SET_DEST (pattern) = reg;
|
||||
|
Loading…
Reference in New Issue
Block a user