https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77493
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |redi at gcc dot gnu.org --- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> --- CCing libstdc++ people -- not sure if std::stable_sort (on which kind of collection?) is safe for std::shared_ptr. Would be nice if you could track down where the object gets destroyed btw (maybe use a watchpoint on the vtable slot?)