This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: subreg fixing (extract_bit_field or simplify_subreg)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]