https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107500
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|libstdc++ |c++ Keywords| |missed-optimization --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- I don't think this is a libstdc++ bug. We really do want that no-op destructor to be in the library. It just shouldn't generate any code, but that's a compiler problem.