https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90296
Bug ID: 90296 Summary: C11 anonymous struct not liked Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: tydeman at tybor dot com Target Milestone: --- This code, which I believe is valid C11 code, will not compile. struct a { int y; }; /* anonymous */ struct b { int x; struct a; int z; }; static struct b c = { 20, 30, 50 }; static struct b d = { .z=5, .x=2, .y=3 };