This is the mail archive of the
mailing list for the GCC project.
Re: Dumb register allocation (PPC)
- From: law at redhat dot com
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: Geoff Keating <geoffk at redhat dot com>, dalej at apple dot com, gcc at gcc dot gnu dot org
- Date: Wed, 15 May 2002 12:38:19 -0600
- Subject: Re: Dumb register allocation (PPC)
- Reply-to: law at redhat dot com
In message <200205151847.OAA25950@makai.watson.ibm.com>, David Edelsohn writes:
> >>>>> Geoff Keating writes:
> Geoff> Either the change is correct or it is not. If it is correct, it work
> Geoff> for all targets. If it is not, it'll probably break something on mos
> Geoff> targets, and we don't want it.
> So we're essentially in the same position as the store-motion
> discussion: we believe that enabling the functionality may cause failures,
> but we do not have a testcase showing a failure.
If the code potentially extends the lifetime of the return register, then
it is incorrect.
GCC is not prepared to deal with the return register being live except
immediately after a function call and immedietly before the current