https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 97260, which changed state.
Bug 97260 Summary: [10 regression] memcmp of constant string and local constant array not folded https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97260 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED