Patch to fix recent local-alloc IA-64 breakage (version 2)

Richard Henderson rth@cygnus.com
Mon Oct 23 10:48:00 GMT 2000


On Mon, Oct 23, 2000 at 01:19:42PM -0400, John Wehle wrote:
> +     case REG:
> +       return REGNO (x) < FIRST_PSEUDO_REGISTER && call_used_regs[REGNO (x)];

This is, unfortunately, too simplistic.  All fixed registers are
also marked call_used.  But obviously this should not apply to the
stack pointer, arg pointer etc.

For years I've been wanting to fix the mistake that documents
CALL_USED must include FIXED.  But adjusting all the targets
always seemed daunting.

I like the patch in general though.


r~


More information about the Gcc-patches mailing list