bug in longlong.h

Vincent Lefevre vincent at vinc17.net
Fri Sep 13 22:17:38 CEST 2013


On 2013-09-13 22:06:41 +0200, Niels Möller wrote:
> Zimmermann Paul <Paul.Zimmermann at inria.fr> writes:
> > #if defined (__amd64__) && W_TYPE_SIZE == 64
> > ...
> > #endif /* x86_64 */
> 
> I'm about to fix this inconsistency, but I'm not sure if __amd64__ is
> the best symbol to test. Current gcc seems to define both __amd64__ and
> __x86_64__, question is if it matters for other gcc versions or other
> compilers (which might define __GNUC__ if they try to implement gcc
> extensions).

FYI, tcc 0.9.25 only defines __x86_64__ (but it doesn't define __GNUC__).

ICC 13.1.0 20130121 also only defines __x86_64__, and it defines __GNUC__
too.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


More information about the gmp-bugs mailing list