https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 91183, which changed state.
Bug 91183 Summary: strlen of a strcpy result with a conditional source not folded https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91183 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED