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: 8 byte long for x86-64


On Apr  4, 2001, Bo Thorsen <bo@sonofthor.dk> wrote:

> This small patch makes gcc use 8 bytes for longs on x86-64. It works and
> is already applied to the x86-64 specific tree, but Jan Hubicka wanted me
> to ask if there is a better way of doing this?

There is.  __LONG_MAX__ should be defined in CPPSPECS.  See how it is
done in gcc/config/rs6000/aix{43,51}.h.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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