https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69698 Bug 69698 depends on bug 71290, which changed state.
Bug 71290 Summary: [6 Regression] Flexible array member is not diagnosed with -pedantic https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71290 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED