[valgrind] [Bug 476535] Difference in allocation size for massif/tests/overloaded-new between clang++/libc++ and g++/libstdc++

2023-11-05 Thread Paul Floyd
https://bugs.kde.org/show_bug.cgi?id=476535 Paul Floyd changed: What|Removed |Added Status|REPORTED|RESOLVED Resolution|---

[valgrind] [Bug 476535] Difference in allocation size for massif/tests/overloaded-new between clang++/libc++ and g++/libstdc++

2023-11-04 Thread Paul Floyd
https://bugs.kde.org/show_bug.cgi?id=476535 --- Comment #1 from Paul Floyd --- So I think what happens is that arena_malloc allocates requested size + alignment + overhead Then the small block up to the alignment boundary gets freed. Since the alignment was added to the arena_malloc size then e