http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53676
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2012-06-14 Target Milestone|--- |4.7.2 Summary|[4.7/4.8 regression] |[4.7/4.8 regression] empty |constant folding |loop is not always removed |regression, shown as |now |slowdown as measured by | |Adobe's C++Benchmark | Ever Confirmed|0 |1 Severity|major |normal --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-06-14 23:13:14 UTC --- Empty loop could get rid of the loop in previous versions of GCC. That was replaced with cdce but that did not get rid of the empty loop. This is a minor issue really because this benchmark is just making sure you got rid of an semi empty loop.