https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113258

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #15 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The problem is libtcmalloc_minimal.so displaced free and this has nothing to do
with operator new/delete really.
It just happens that the aligned operator new calls aligned_alloc and then
calls free on that pointer and the free fails here because libtcmalloc is not
forwards compatible with c11's aligned_alloc.

This is also an issue with some c11 code that would call aligned_alloc and then
call free. The bug is again in libtcmalloc and not forwards compatible.

Reply via email to