Thanks, pushed.
On 6/20/25 12:18, Richard Biener wrote:
On Thu, Jun 19, 2025 at 11:21 PM Jørgen Kvalsvik <[email protected]> wrote:
Hi,
These patches fixes a memory leak in the prime paths, and some in the
selftests that show up in make selftest-valgrind. After applying these
patches on my x86-64-linux-gnu system and make selftest-valgrind:
OK.
Thanks,
Richard.
-fself-test: 7665942 pass(es) in 8.943705 seconds
==802130==
==802130== HEAP SUMMARY:
==802130== in use at exit: 1,174,596 bytes in 2,428 blocks
==802130== total heap usage: 3,650,060 allocs, 3,647,632 frees, 1,776,527,949
bytes allocated
==802130==
==802130== LEAK SUMMARY:
==802130== definitely lost: 0 bytes in 0 blocks
==802130== indirectly lost: 0 bytes in 0 blocks
==802130== possibly lost: 0 bytes in 0 blocks
==802130== still reachable: 1,174,596 bytes in 2,428 blocks
==802130== suppressed: 0 bytes in 0 blocks
Jørgen Kvalsvik (2):
Free buffer on function exit [PR120634]
Use auto_vec in prime paths selftests [PR120634]
gcc/prime-paths.cc | 50 ++++++++++++++++++++++------------------------
1 file changed, 24 insertions(+), 26 deletions(-)
--
2.39.5