t...@gmplib.org (Torbjörn Granlund) writes:

  I modified the TMP_SALLOC macro in gmp-impl.h to print its allocation
  argument.  I did this as I suspected that we sometimes invoke the SALLOC
  form inappropriately for huge allocation.
  
After adding printing of __FILE__ and __LINE__ to the diagnostics code,
I identified two bad TMP_SALLOC_LIMBS invocations in mpn/generic/mul.c.
These are now patched.

The code can still be improved in many ways, including trimming of
allocation.


Torbjörn
Please encrypt, key id 0xC8601622
_______________________________________________
gmp-devel mailing list
gmp-devel@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-devel

Reply via email to