https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106375
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |13.0 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Keywords| |missed-optimization Last reconfirmed| |2022-07-21 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed. Note it was a latent issue, if there was any _Complex lowered op in the fn the copy would already have been lowered. The memcpy pattern detection needs to be extended to "unrolled" copying to cover this again (there might be a duplicate bug about this).