g++-3.4 bug

Torbjorn Granlund tg at gmplib.org
Mon Feb 20 21:49:53 CET 2012

Marc Glisse <marc.glisse at inria.fr> writes:

  Yes, my main concern is whether I should let people notice that the
  testsuite is failing so they try a more recent compiler, or work
  around it by disabling the use of __builtin_constant_p for 3.4.* (and
  anything older?).
If just the test suite is miscompiled, and the compiler is actually
still used, then we might as well make a (trivial) workaround in the
test suite.

Note that we resisted the temptation to work around the GCC 4.3.2 bug
that made mpn/generic/rootrem.c become miscompiled.  In this case, we
had a compiler which was very much used, but no reasonable workaround
was found.

  which last I checked didn't work with the master repos ;-)
  (it doesn't understand the instruction jb,pt in
  mpn/x86_64/mod_34lsub1.asm (and neither does oracle))
I suppose we could as well remove it.  Now done.


More information about the gmp-devel mailing list