thread-safe issue (gmp 6.0.0)

tg at gmplib.org tg at gmplib.org
Tue Mar 24 10:53:23 UTC 2015


paul zimmermann <Paul.Zimmermann at inria.fr> writes:

  If I replace FFT_TABLE_ATTRS by simply "const", valgrind --tool=helgrind
  becomes happy.
  
This is clearly a buglet in GMP.

It is harmless since the value written to the local variable will always
be the same.

Looking at the code now, it is not at all clear why we mess around with
FFT_TABLE_ATTRS.  It is never overridden, so we might as well get rid of
it.

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-bugs mailing list