https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 86203, which changed state.
Bug 86203 Summary: duplicate non-constant call to strlen() not folded https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86203 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID