https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91197
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (U32*)(buf + i) Is undefined behavior since buf+i will mostly be unaligned. NOTE most likely is unrolling the loop and changing the code from crashing to something which will not crash. That is valid thing to do as it was undefined beforehand.