http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52632
--- Comment #5 from Mikael Pettersson <mikpe at it dot uu.se> 2012-03-20 13:18:00 UTC --- (In reply to comment #4) > 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". Done, see PR52635.