reload1.c (compute_use_by_pseudos): Allow reg_renumber[regno] < 0 after reload.
* reload1.c (compute_use_by_pseudos): Allow reg_renumber[regno] < 0 after reload. From-SVN: r24287
This commit is contained in:
parent
4566eb621b
commit
404d95c460
@ -1,3 +1,8 @@
|
||||
Sun Dec 13 00:24:14 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
|
||||
|
||||
* reload1.c (compute_use_by_pseudos): Allow reg_renumber[regno] < 0
|
||||
after reload.
|
||||
|
||||
Sat Dec 12 23:39:10 1998 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* i386/next.h (ASM_OUTPUT_ALIGN): Use 0x90 for fill character.
|
||||
|
@ -536,10 +536,20 @@ compute_use_by_pseudos (to, from)
|
||||
int r = reg_renumber[regno];
|
||||
int nregs;
|
||||
if (r < 0)
|
||||
abort ();
|
||||
nregs = HARD_REGNO_NREGS (r, PSEUDO_REGNO_MODE (regno));
|
||||
while (nregs-- > 0)
|
||||
SET_HARD_REG_BIT (*to, r + nregs);
|
||||
{
|
||||
/* reload_combine uses the information from
|
||||
basic_block_live_at_start, which might still contain registers
|
||||
that have not actually been allocated since they have an
|
||||
equivalence. */
|
||||
if (! reload_completed)
|
||||
abort ();
|
||||
}
|
||||
else
|
||||
{
|
||||
nregs = HARD_REGNO_NREGS (r, PSEUDO_REGNO_MODE (regno));
|
||||
while (nregs-- > 0)
|
||||
SET_HARD_REG_BIT (*to, r + nregs);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user