https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114357
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Summary|C++: Support the no_destroy |Add a way to not call |attribute |deconstructors for non-auto | |decls, like clang's | |no_destroy attribute --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Really having this attribute to work around broken C++ code is just asking for more troubles. There was a request recently for asking to remove the store for the vtable in trivial deconstructors to work around broken C++ code and it was obvious that the developer didn't know how it was broken and just wanted to this attribute to workaround their broken code.