This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/52632] GCC compfail on O0
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 20 Mar 2012 11:09:43 +0000
- Subject: [Bug c/52632] GCC compfail on O0
- Auto-submitted: auto-generated
- References: <bug-52632-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52632
--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2012-03-20 11:09:43 UTC ---
On Tue, 20 Mar 2012, mikpe at it dot uu.se wrote:
> either a compile-time error or a link-time error (the latter because gcc
> erroneously omits the compile-time error for an invalid type in an unused
> sizeof() when optimizing).
I'm not aware of such a bug. Please file a separate bug report in
Bugzilla with a testcase for this "erroneously omits the compile-time
error for an invalid type in an unused sizeof() when optimizing".