https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 86043, which changed state.
Bug 86043 Summary: strlen after memcpy partially overwriting a string not optimized https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86043 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED