[Bug c++/47817] New: incorrectly working code generated with -O3

2011-02-19 Thread andrew.aksyonoff at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47817 Summary: incorrectly working code generated with -O3 Product: gcc Version: 4.4.4 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c++ AssignedTo: unassi

[Bug c++/47817] incorrectly working code generated with -O3

2011-02-19 Thread andrew.aksyonoff at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47817 --- Comment #1 from Andrew Aksyonoff 2011-02-19 20:51:23 UTC --- Created attachment 23407 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23407 the preprocessed .ii file built with -O3 -save-temps

[Bug c++/47817] incorrectly working code generated with -O3

2011-02-19 Thread andrew.aksyonoff at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47817 --- Comment #4 from Andrew Aksyonoff 2011-02-19 21:10:21 UTC --- (In reply to comment #2) > I think you have some violation of the C/C++ aliasing rules where you access > an > "unsigned int" via an "unsigned long long" which in turn causes undef