https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63878
Bug ID: 63878 Summary: Variables of incomplete type can be defined with -fno-fat-lto-objects Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: mustrumr97 at gmail dot com a.c: struct a x; gcc -flto -fno-fat-lto-objects -c a.c # ok gcc -flto -ffat-lto-objects -c a.c # fail I think this should always be rejected.