Commit 404d95c4 by J"orn Rennecke Committed by Jeff Law

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
parent 4566eb62
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)
{
/* 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);
}
});
}
......
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