invalid read in mpn_copyi?

Niels Möller nisse at
Tue Jan 21 21:48:42 UTC 2014

David Harvey <d.harvey at> writes:

> I can see why this might be considered a non-bug, and perhaps it's even intentional for performance reasons, but it seemed dodgy enough to me to report it.

If the warnings disappear with --partial-loads-ok=yes to valgrind, the
reads are most likely intentional.

It would be nice to be able to tell valgrind on a per object file (or
per function or even per instruction) if the code is expected to do such
"partial loads". Is that possible?


Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.

More information about the gmp-bugs mailing list