PPro and egcs
Jeffrey A Law
law@cygnus.com
Fri Oct 31 15:20:00 GMT 1997
In message < m0xRQKv-0004ecC@ocean.lucon.org >you write:
> > Well, I've got my ppro running, and I've actually been able to trip this
> > problem. No clue why I couldn't get it to trip with my cross compiler.
> >
> > It's a tough little nut to crack, largly because of reload's insistence
> > on replacing regs with CONST_INTs when the register has a REG_EQUIV note.
> >
>
> If you take a close look, eax is used for the return value of a
> funtion. In that case, I don't gcc should even try to use eax as
> spill register.
On the x86 the reload pass does try to use return registers and
any others it can find as spills -- the x86 is too register poor
to not use it.
jeff
More information about the Gcc
mailing list