Possible GMP bug

Torbjorn Granlund tg at gmplib.org
Mon Jun 21 08:53:45 CEST 2010

Dennis Clarke <dclarke at blastwave.org> writes:
  Just my little input here.  I have done multiple builds of GCC and
  gmp/mpfr on Solaris 8 and 10 on x86/amd64/Sparc and in all cases was able
  to get perfect gmp test results. HOWEVER, never with GCC 4.5.x at all.

This is quite alarming, in particular as GCC itself depends on GMP.

Are the problems you've seen limited to sparc systems, or have you also
seen failures with other processors?

Where does the failure happen, I mean which GMP tests fail?

GCC 4.3.2 miscompiles a GMP file, apparently for all 64-bit targets, and
can thus not be used for compiling GMP.  It would be bad if there is
another release that has such bugs.


More information about the gmp-bugs mailing list