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: [patch] Optimize loading of special constants on h8300.


  In message <20010829093920.B3625@redhat.com>you write:
  > On Wed, Aug 29, 2001 at 08:19:17AM -0700, Kazu Hirata wrote:
  > > ! 	  switch (val)
  > >   	    {
  > > ! 	    case 0xffffffff:
  > 
  > This fails cross-compiling from a 64-bit host.  Please rewrite
  > these as signed constants, or use (val & 0xffffffff).
Good point.

In Kazu's defense, I'm pretty sure the old code wasn't 64bit safe either.

jeff



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