https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70015
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-03-01 CC| |ebotcazou at gcc dot gnu.org Summary|Finalizer not called |missing or additional call |depending on declaration |to finalizer depending on |order |scope hierarchy Ever confirmed|0 |1 --- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- Confirmed. It seems that the finalization of the inner scope sort of prevails upon that of the outer scope. Please attach a full reproducer though, as per the instructions on the https://gcc.gnu.org/bugs page.