https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65709
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-*-* Target Milestone|--- |5.0 --- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- *(U64*)dstPtr = *(U64*)srcPtr; makes GCC assume that dstPtr and srcPtr are suitably aligned for U64, if they are not then you invoke undefined behavior. As x86 doesn't trap on unaligned accesses unless they are from vectorized code this shows up only when the vectorizer exploits that alignment info. Thus I'd say this bug is invalid.