[Bug lto/82172] Destruction of basic_string in basic_stringbuf::overflow with _GLIBCXX_USE_CXX11_ABI=0, -flto, and C++17 mode results in invalid delete

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 27 07:29:00 GMT 2017


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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #18 from Martin Liška <marxin at gcc dot gnu.org> ---
Issue solved, ld.bfd is responsible. Gold properly marks the symbols as:
1322 aef281150a4b024f PREVAILING_DEF_IRONLY_EXP
_ZNSs4_Rep20_S_empty_rep_storageE

I'm going to create binutils issue for that.


More information about the Gcc-bugs mailing list