http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54361
Bug #: 54361
Summary: Compiling for c++11 gives a warning on scanf() with
%as format specifier
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCO
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54361
--- Comment #1 from Nick Strikos 2012-08-23
23:35:31 UTC ---
Created attachment 28075
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28075
Testcase
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54361
strikosn at gmail dot com changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54441
Bug #: 54441
Summary: Infinite loop with brace initializer on zero-length
array
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: strikosn at gmail dot com
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45320
--- Comment #3 from strikosn at gmail dot com 2010-08-19 09:50 ---
Ok, I reviewed all cases and it seems that gcc always does the right thing. The
only problem left is that strict-aliasing warning Levels 2 and 3, of which
Level 3 is enabled by default, do not detect this particular case