https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98940 Bug 98940 depends on bug 107685, which changed state.
Bug 107685 Summary: [C++23] P2647 - Permitting static constexpr variables in constexpr functions https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107685 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED