This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PPro and egcs
- To: hjl at lucon dot org (H.J. Lu)
- Subject: Re: PPro and egcs
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 31 Oct 1997 16:22:32 -0700
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
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