GMP patch: MinGW/win64 port

NightStrike nightstrike at
Tue Mar 4 23:21:22 CET 2008

On 3/4/08, Torbjorn Granlund <tg at> wrote:
\>  > I am troubled by your tests/amd64check.c change, since it
>  > unconditionally changes the constants to 'long long'.  Not all
>  > compilers might have that type.  Could you please try using the
>  > CNST_LIMB mechanism instead?
>  amd64check is only for amd64. What amd64 compiler does not have long
>  long? AFAIK, none. I doubt such a compiler will ever exist.
> Again, I disagree, there might be iso c90 compilers for this target.
> Being conservative about this sort of things is better.

I don't think it's at all possible to have a c90 compiler for this
target in the first place.  In fact, right now there are only two
compilers to choose from -- MS's VC compiler, and the mingw-w64
project which supports ONLY gcc (4.3 and above).

More information about the gmp-bugs mailing list