[Bug tree-optimization/34723] Summing variable should be initialized to the first member before the loop

2013-12-16 Thread law at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34723 --- Comment #3 from Jeffrey A. Law --- Andrew, no. 4.2 didn't muck things up at all. The 4.2 code is clearly better (unless you're vectorizing the loop). What's happening is the IV code changes the loop structure enough that VRP2/DOM2 are unabl

[Bug tree-optimization/34723] Summing variable should be initialized to the first member before the loop

2013-12-13 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34723 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/34723] Summing variable should be initialized to the first member before the loop

2008-01-09 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-01-09 08:50 --- So 4.2's jump threading used to mess up the loop (and copy the first iteration) and cause code size issues so it was removed for 4.3. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34723