https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122261
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note in case gcc aliasing is fine, the problem is just aggregates. Gimple ir represents aggregates copies still which is different from how llvm ir is which does it as a load/store in a specific size.