https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101832
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- This is intentional, if you embed an aggregate with flex array into another struct and ask not to cross the field boundaries (i.e. bos1), then the size of that field is exactly what is the maximum size.