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

Torbjorn Granlund tg at
Thu Feb 21 18:41:50 CET 2013

Alexander Kruppa <akruppa at> writes:

  2013/2/21 Torbjorn Granlund <tg at>:
  > We should make sure this is really a valid 16-bit aligned read before we
  > report any valgrind bug.
  > --
  > Torbjörn
  %rsi is divisible by 16, so looks properly aligned.
But are some of the bytes within an operand?  We don't want to make a
completely spurious 16-byte read.


More information about the gmp-bugs mailing list