[Bug c++/54361] New: Compiling for c++11 gives a warning on scanf() with %as format specifier

2012-08-23 Thread strikosn at gmail dot com
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

[Bug c++/54361] Compiling for c++11 gives a warning on scanf() with %as format specifier

2012-08-23 Thread strikosn at gmail dot com
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

[Bug c++/54361] Compiling for c++11 gives a warning on scanf() with %as format specifier

2012-08-23 Thread strikosn at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54361 strikosn at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug c++/54441] New: Infinite loop with brace initializer on zero-length array

2012-08-31 Thread strikosn at gmail dot com
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

[Bug c/45320] New: Strict-aliasing misdetection

2010-08-18 Thread strikosn at gmail dot com
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

[Bug c/45320] Strict-aliasing misdetection

2010-08-19 Thread strikosn at gmail dot com
--- 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