https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90262
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2019-04-28 Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Note we are expanding memmoves inline on GIMPLE already if we can use a single load/store (with power-of-two size). But confirmed, we can do like you say at the expense of register pressure. We could also do a conditional branch and have two variants inline.