6 GCC regressions, 2 new, with your patch on 2002-07-20T23:26:42Z.

Richard Henderson rth@redhat.com
Thu Jul 25 10:11:00 GMT 2002


On Wed, Jul 24, 2002 at 04:48:32PM -0700, Geoff Keating wrote:
> > Your reasoning is incorrect.  REG_EQUIV is a _local_ equivalence,
> > free to be killed at any moment.  REG_EQUAL is the global equivalence.
> 
> It's the other way around.

I realized this while driving home.   :-/

> Thus, it looks like the right thing for this problem is to generate a
> REG_EQUAL note instead of a REG_EQUIV.

That may be correct.  If the register isn't modified, local-alloc
will promote the note to REG_EQUIV, which will cause reload to use
the mem as the spill backing store.

Of course, if spill backing store is really what we're after, we
should probably have a different sort of annotation for it.


r~



More information about the Gcc-regression mailing list