https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100124
--- Comment #8 from Behdad Esfahbod <gcc at behdad dot org> --- (In reply to Andrew Pinski from comment #7) > > Can you report that as a bug as GCC's rule is treat all arrays that end a > POD as a flexiable array? Please include the full preprocessed source that > produces the problem at runtime and the specific version of GCC that is > used. This is a GCC bug in mind due to this unless there is another field > missing that is in the source that you are not showing. Thanks. Will do after reproducing.