[Bug c++/52833] -O2 optimizes loop to infinite when loop invariant based on arithmetic overflow

2012-04-02 Thread gwpublic at wp dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52833 Grzegorz Wierzowiecki changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/52833] -O2 optimizes loop to infinite when loop invariant based on arithmetic overflow

2012-04-02 Thread gwpublic at wp dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52833 --- Comment #4 from Grzegorz Wierzowiecki 2012-04-02 10:11:32 UTC --- Created attachment 27067 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27067 compiler flags enabled by -O2

[Bug c++/52833] -O2 optimizes loop to infinite when loop invariant based on arithmetic overflow

2012-04-02 Thread gwpublic at wp dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52833 --- Comment #3 from Grzegorz Wierzowiecki 2012-04-02 10:11:02 UTC --- Created attachment 27066 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27066 compiler flags enabled by -O1

[Bug c++/52833] -O2 optimizes loop to infinite when loop invariant based on arithmetic overflow

2012-04-02 Thread gwpublic at wp dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52833 --- Comment #2 from Grzegorz Wierzowiecki 2012-04-02 10:09:48 UTC --- Created attachment 27065 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27065 overflow_loop-O2.s - assembly after -O2

[Bug c++/52833] -O2 optimizes loop to infinite when loop invariant based on arithmetic overflow

2012-04-02 Thread gwpublic at wp dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52833 --- Comment #1 from Grzegorz Wierzowiecki 2012-04-02 10:09:15 UTC --- Created attachment 27064 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27064 overflow_loop-O1.s - Assembly after -O1

[Bug c++/52833] New: -O2 optimizes loop to infinite when loop invariant based on arithmetic overflow

2012-04-02 Thread gwpublic at wp dot pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52833 Bug #: 52833 Summary: -O2 optimizes loop to infinite when loop invariant based on arithmetic overflow Classification: Unclassified Product: gcc Version: 4.6.1 Status: