This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/63878] New: Variables of incomplete type can be defined with -fno-fat-lto-objects
- From: "mustrumr97 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 14 Nov 2014 19:25:21 +0000
- Subject: [Bug c/63878] New: Variables of incomplete type can be defined with -fno-fat-lto-objects
- Auto-submitted: auto-generated
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.