This is the mail archive of the gcc-patches@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]

Re: [patches] Re: GCC build failed for powerpc-eabisim with your patch on 2001-06-04T15:31:45Z.



> So simple adding of offsets don't work.  The checking code in
> simplify_subreg refuses to construct the bogus subreg, that is why
> the compiler aborts.

Yes.  The result would be wrong anyway, consider taking

(subreg:HI (subreg:QI (reg:DI) 3) 0)

it should be 

(subreg:HI (reg:DI) 2)

not

(subreg:HI (reg:DI) 3)

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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