https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95417
Olivier Kannengieser <okannen at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Olivier Kannengieser <okannen at gmail dot com> --- I have just found a paragraph in the standard that specifies that GCC behavior is standard compliant, [basic.start.term]/3: "If an object is initialized statically, the object is destroyed in the same order as if the object was dynamically initialized."