_mp_alloc vs ALLOC

Niels Möller nisse at lysator.liu.se
Wed Feb 22 20:57:31 CET 2012

Torbjorn Granlund <tg at gmplib.org> writes:

> TMP_ALLOC_LIMBS_2 is clutter IMHO.

Sure, it's pointless in a normal build.

As I understand it, the reason for having TMP_ALLOC_LIMBS_2 is to make
--enable-alloca=debug more effective, by getting some kind of red zone
separating the two areas. Whether or not that's worth the clutter, I'm
not sure.


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