https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82760
Marc Glisse <glisse at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-10-28 Ever confirmed|0 |1 --- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> --- If I make the destructor do something (print hello) and I delete[] gFoo, then I get a crash with c++17 and not c++14, indeed. In c++17 we don't seem to allocate any extra space to store the array size.