https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 83674, which changed state.
Bug 83674 Summary: strcpy folding of small strings defeats strlen optimization https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83674 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE