GMP 5.1.1: Valgrind reports incorrect read in __gmpn_copyd (called from __gmpz_mul_2exp)

Marc Glisse marc.glisse at inria.fr
Sat Feb 23 12:44:15 CET 2013


On Sat, 23 Feb 2013, bodrato at mail.dm.unipi.it wrote:

> By the way, is there a way to ask malloc a 16-byte-aligned block?

No, there is aligned_alloc (C 2011), (posix_)memalign, _aligned_malloc, 
etc, with varying availability. malloc was supposed to return memory 
sufficiently aligned for all types, but then they invented over-aligned 
types...

-- 
Marc Glisse


More information about the gmp-bugs mailing list