This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the EGCS project.


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

Re: 64 to (nearly) 32 bit cross fix


  In message <19990727102701.C12119@cygnus.com>you write:
  > Nope.  It's a pointer_type, and on this target therefore a
  > 32-bit _unsigned_ quantity.  And since BITS_PER_WORD is 64,
  > we don't trigger the sign-extend-from-word-size case either.
Even though it's unsigned we still need to sign extend it in the rtl
though.  At least that's what Jim told me :-) :-)

Basically our RTL is ambiguous in this case.  Using -8 generally works a
hell of a lot better than 0xfffffff8 though :-)

Did you get a later patch from me?  Did it help?

jeff



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