https://bugs.kde.org/show_bug.cgi?id=384930

--- Comment #3 from Niels Möller <ni...@lysator.liu.se> ---
In the mean time, a more self-contained example was posted by the GMP author to
https://gmplib.org/list-archives/gmp-devel/2018-February/004728.html, I'm
copying here for easy reference. To reproduce:

$ gcc valgrind-nisse.c bwl_mul_basecase.s 
$ ./a.out 
expected: ffffffffffffefff ffe0000800100000 ffff800000000dff 007ffffffff00000
001ffff800000001
     got: ffffffffffffefff ffe0000800100000 ffff800000000dff 007ffffffff00000
001ffff800000001
$ valgrind ./a.out 
==27485== Memcheck, a memory error detector
==27485== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==27485== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==27485== Command: ./a.out
==27485== 
expected: ffffffffffffefff ffe0000800100000 ffff800000000dff 007ffffffff00000
001ffff800000001
     got: ffffffffffffefff 0000000000100fff ffffffffffefffff 0000000000000001
001ffff800000001
==27485== 
==27485== HEAP SUMMARY:
==27485==     in use at exit: 0 bytes in 0 blocks
==27485==   total heap usage: 1 allocs, 1 frees, 1,024 bytes allocated
==27485== 
==27485== All heap blocks were freed -- no leaks are possible
==27485== 
==27485== For counts of detected and suppressed errors, rerun with: -v
==27485== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

I'll upload the two source files as attachments in a moment.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to