[Bug tree-optimization/43537] [4.3/4.4 Regression] c++ -O2 optimizes away a branch inside a loop (-ftree-vrp maybe)

2010-03-26 Thread juha dot kallioinen at nokia dot com
--- Comment #7 from juha dot kallioinen at nokia dot com 2010-03-26 15:24 --- Created an attachment (id=20213) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20213&action=view) source files Here are the source files to reproduce the bug, just untar and 'make&#x

[Bug tree-optimization/43537] c++ -O2 optimizes away a branch inside a loop (-ftree-vrp maybe)

2010-03-26 Thread juha dot kallioinen at nokia dot com
--- Comment #4 from juha dot kallioinen at nokia dot com 2010-03-26 13:52 --- (In reply to comment #3) > It will be easier to debug if you provide a run-time testcase. That qvector.ii contains a main() function that executes test1() and test2(). If you want all the source files, I

[Bug tree-optimization/43537] c++ -O2 optimizes away a branch inside a loop (-ftree-vrp maybe)

2010-03-26 Thread juha dot kallioinen at nokia dot com
--- Comment #2 from juha dot kallioinen at nokia dot com 2010-03-26 12:40 --- Created an attachment (id=20207) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20207&action=view) gcc -v output -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43537

[Bug tree-optimization/43537] c++ -O2 optimizes away a branch inside a loop (-ftree-vrp maybe)

2010-03-26 Thread juha dot kallioinen at nokia dot com
--- Comment #1 from juha dot kallioinen at nokia dot com 2010-03-26 12:39 --- Created an attachment (id=20206) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20206&action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43537

[Bug tree-optimization/43537] New: c++ -O2 optimizes away a branch inside a loop (-ftree-vrp maybe)

2010-03-26 Thread juha dot kallioinen at nokia dot com
de a loop (-ftree- vrp maybe) Product: gcc Version: 4.4.1 Status: UNCONFIRMED Severity: major Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: juha dot kallioinen at nokia dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43537