bug in longlong.h

Niels Möller nisse at lysator.liu.se
Fri Sep 13 22:06:41 CEST 2013


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).

For now I'm switching the comment to __amd64__ as you suggest, that
can't break anything.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.


More information about the gmp-bugs mailing list