https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80135
--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> --- Yes, Jason and I agreed that arrays of structs with flexible array members should be rejected (thus ice-on-invalid-code). It was not my intend to accept this code. I just haven't gotten around to fixing it yet.