[Bug tree-optimization/64183] [5.0 Regression] Complete unroll doesn't happen for a while-loop

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 4 12:49:00 GMT 2014


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;
}



More information about the Gcc-bugs mailing list