https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64183
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Priority|P3 |P1 Status|UNCONFIRMED |NEW Last reconfirmed| |2014-12-04 Target Milestone|--- |5.0 Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- It works correctly for int bits; void test () { while (bits < (unsigned int)25) bits += 8; }