https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98940 Bug 98940 depends on bug 102612, which changed state.
Bug 102612 Summary: [C++23] P2242R3 - Non-literal variables (and labels and gotos) in constexpr functions https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102612 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED