https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21827
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #13 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think this is fixed by GIMPLE cunroll, either when the sizes are in bounds of
the respective --params or when the user now specifies #pragma GCC unroll N
before such loop. The optimization is then performed by constant propagation
and redundancy elimination.