https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113282
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Keywords| |alias Status|UNCONFIRMED |RESOLVED --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Int and long does not alias so moving the store past the load is a valid thing to do. Note the union does not make a difference here since it is not seen due taking the address of the fields.