https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111905
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Component|tree-optimization |target Target| |x86_64-linux-gnu --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Why are you using `-mprefer-vector-width=512` here? 512 causes the loop to be needing to be unrolled once more and that is why the confusion happening.