https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 121707, which changed state.
Bug 121707 Summary: Compiler spills std::string internals when used in consteval context https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121707 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE