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

2017-07-25 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63878
Bug 63878 depends on bug 24293, which changed state.

Bug 24293 Summary: Undefined behaviour not diagnosed with -fsyntax-only
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24293

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

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

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63878

Andrew Pinski  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|NEW |RESOLVED

--- Comment #4 from Andrew Pinski  ---
So this has been fixed since GCC 6 by PR 24293 so closing as a dup.

*** This bug has been marked as a duplicate of bug 24293 ***

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

2014-11-14 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63878

Andrew Pinski  changed:

   What|Removed |Added

   Keywords||accepts-invalid
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-11-14
 Ever confirmed|0   |1

--- Comment #1 from Andrew Pinski  ---
The problem is the error message is emitted way too late and not by the
front-end but by the middle-end.

Confirmed.


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

2014-11-14 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63878

--- Comment #2 from joseph at codesourcery dot com  ---
This is probably essentially the same as bug 24293 (reporting such an 
issue with -fsyntax-only).


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

2014-11-14 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63878

Andrew Pinski  changed:

   What|Removed |Added

 Depends on||24293

--- Comment #3 from Andrew Pinski  ---
Depends on bug 24293 then.  Funny how I said the same thing in the previous bug
and I even redid the analysis for this one and I forgot about the previous one
too :).