https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87252
--- Comment #6 from David Malcolm <dmalcolm at gcc dot gnu.org> --- ...though my understanding is that an automatic local's storage is deallocated at the end of the enclosing code block - presumably that's when the dtor is meant to run, and not before.