Changes to mini-gmp and 5.1.2

Niels Möller nisse at
Sat May 18 06:58:35 CEST 2013

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)


Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.

More information about the gmp-devel mailing list