https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118947
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=117634 Severity|normal |enhancement Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org Last reconfirmed| |2025-02-20 Ever confirmed|0 |1 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Related to PR 117634. Currerntly optimize_memcpy_to_memset does not skip over vdefs that can't clobber `buf` as it is supposed to be a simple analysis. But I suspect we could extend it to skip over vdefs that don't clobber the buf.