https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 86415, which changed state.
Bug 86415 Summary: strlen() not folded for substrings within constant arrays https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86415 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED