http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58717
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2013-10-14 CC| |jakub at gcc dot gnu.org Target Milestone|--- |4.8.2 Summary|Pre-calculation |[4.8 Regression] SCEV final |optimization is omitted |value replacement no longer | |triggers Ever confirmed|0 |1 --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- sccp pass used to optimize: unsigned long long foo () { unsigned long long s = 0, i; for (i = 0; i < 1000000000ULL; i++) s += i; return s; } before r194578, but no longer does in 4.8. In 4.9 this got fixed again, trying to bisect now.