https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81774
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- There is no sequence points between the accesses so the order of the reads is unspecified. Also multiply has no side effects on the loads so it gets scheduled around the loads.