https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63945
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |5.0
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Starting in GCC 15, the code is fully optimized away.
if make sure c is used after the loop, then GCC 5 starts to vectorize the code.
Decently since GCC 8.
