Warning when compiling on NetBSD/sparc64

Martin Husemann martin at duskware.de
Fri Nov 29 14:35:21 UTC 2013


Hello,

when compiling gmp 5.1.3 on a NetBSD/sparc64 machine, gcc complains:

divrem_2.c: In function '__gmpn_divrem_2':
divrem_2.c:101:4: warning: right shift count >= width of type

(in mpn/generic).

I have bean unable to unriddle the macro - so I'm reporting it here.

Martin


More information about the gmp-bugs mailing list