https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85398

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic,
                   |                            |missed-optimization
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-04-13
                 CC|                            |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed.  It doesn't look like the assignment to left[i] affects the
determination of the maximum number of iterations of the loop during unrolling.
 This is also a missed optimization opportunity since the whole loop could be
eliminated.

Reply via email to