RFC: subreg fixing (extract_bit_field or simplify_subreg)

Aldy Hernandez aldyh@redhat.com
Fri Oct 29 02:44:00 GMT 2004


On Thu, Oct 28, 2004 at 08:02:49PM +0200, Ulrich Weigand wrote:
> Aldy Hernandez wrote:
> 
> >...this creates invalid rtl: (subreg:SI (reg:DF 118) 4).
> 
> Is 118 a hard reg on your machine? If so, I've just checked
> in a patch that does exactly this:

No.  It's a pseudo :-(

> If 118 is a pseudo, I don't see why the RTL would be invalid
> (reload could allocate the pseudo to a general purpose register).

The RTL is invalid because you can't have a SI subreg of a DF value.

Aldy



More information about the Gcc mailing list