This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/63878] New: Variables of incomplete type can be defined with -fno-fat-lto-objects


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]