https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90773
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2019-06-07 Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed. Note that both the unaligned load and the unaligned store may have issues with preceeding stores or following loads and store-to-load forwarding. I'm not sure the speculative forwarding of aligned parts will be retired successfully because of the aliased unaligned parts, even if they have the same value. But definitely an improvement for -Os. Probably needs some target tuning knobs if implemented in the middle-end block-copy machinery.