_mp_alloc vs ALLOC
Torbjorn Granlund
tg at gmplib.org
Wed Feb 22 21:02:55 CET 2012
nisse at lysator.liu.se (Niels Möller) writes:
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.
Surely a plain TMP_ALLOC adds red zones? If not, that is something we
ought to fix.
--
Torbjörn
More information about the gmp-devel
mailing list