https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61724
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- /app/example.cpp:12:21: note: LOOP VECTORIZED /app/example.cpp:22:31: note: LOOP VECTORIZED That is A::f and A::h. A::g and A::k are optimized away as the results were not used. If I add some slight code to allow them not to be optimized away, we use __builtin_memcpy instead. So this is fixed. I not even going to check when as this has been fixed a long time ago.