https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103100
Wilco <wilco at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Summary|[11/12/13 Regression] |[11 Regression] unaligned |unaligned access generated |access generated with |with memset or {} and -O2 |memset or {} and -O2 |-mstrict-align |-mstrict-align --- Comment #30 from Wilco <wilco at gcc dot gnu.org> --- Fixed on GCC12 branch too. It doesn't apply to GCC11, so it's unlikely to be worth fixing since GCC11 branch will be closed soon.