[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
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 22 16:04:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82172
--- Comment #25 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Gubbins from comment #24)
> > > Does anyone know how I would raise this with someone who can fix it on the
> > > Darwin side? Or could it be worked around by gcc?
> >
> > Linker should provide precise information to GCC.
>
> FWIW, I have raised a bug report on the Apple Developer Bug Reporter
> regarding the similar behaviour of the OSX linker.
Dave, the fix for PR 86138 might also fix this case for Darwin - could you
check that please?
The fix is committed to the tip of trunk and gcc-8-branch and gcc-7-branch.
More information about the Gcc-bugs
mailing list