subreg against register allocation?

Bernd Schmidt bernds@codesourcery.com
Mon Jun 14 23:08:00 GMT 2010


On 06/15/2010 12:06 AM, Ian Lance Taylor wrote:

> Well, as you know, subregs have two meanings which look similar but
> are in fact entirely different.  It's valid to set subregs of the same
> pseudo in parallel if the subregs represent different hard registers.
> It's not valid if the subregs represent different pieces of the same
> hard register.

Are you aware of any examples of this in the compiler?  The explanation
is of course plausible, but do we know that we handle this correctly
everywhere?


Bernd



More information about the Gcc mailing list