Changes to mini-gmp and 5.1.2

Torbjorn Granlund tg at
Sat May 18 16:44:39 CEST 2013

nisse at (Niels Möller) writes:

  Torbjorn Granlund <tg at> writes:
  > Should we move any of the mini-gmp changes to 5.1.2?
  I think the following would make sense to include:
  2013-02-25  Niels Möller  <nisse at>
  	* mini-gmp/tests/t-double.c (testmain): Declare double variables
  	as volatile, to drop extended precision.
  	* mini-gmp/tests/testutils.c (testfree): New function. Use it
  	everywhere where test programs deallocate storage allocated via
  	the mini-gmp allocation functions, including uses of mpz_get_str
  	for various test failure messages.
  IIRC, the second change fixes crashes when displaying messages about
  failing tests.
  2013-02-19 Marco Bodrato <bodrato at>
  	* mini-gmp/mini-gmp.c: Move asserts to work-around a compiler bug.
  	* mini-gmp/tests/t-reuse.c: Fix typo causing the same negation condition
  	to be applied to all operands. (See 2013-02-03, Torbjorn)
That was easy, since all these changes already appear to have been put
in 5.1.  :-)


More information about the gmp-devel mailing list