mpz reuse test takes too much time

Niels Möller nisse at
Sat Dec 3 07:18:09 UTC 2016

tg at (Torbjörn Granlund) writes:

> Target operands which are not also input operands are now overwritten
> with garbage via the CLOBBER macro.  (It would make sense to do this in
> almost every other GMP test file.)
> I split your gcdext check macros into 2-operand and 3-operand variants.
> The old macros checked res3 even when it was not part of the
> computation, exhibiting possibly undefined behaviour.
> OK with you to commit?

Looks good to me, go aehad.


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

More information about the gmp-devel mailing list