This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 8 byte long for x86-64
- To: Bo Thorsen <bo at sonofthor dot dk>
- Subject: Re: 8 byte long for x86-64
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 04 Apr 2001 15:33:42 -0300
- Cc: <gcc-patches at gcc dot gnu dot org>
- Organization: GCC Team, Red Hat
- References: <Pine.LNX.4.31.0104041704270.6728-100000@idefix.sonofthor.dk>
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