https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85873
--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> --- (In reply to Jason Merrill from comment #7) > It does seem wrong that a constexpr function can't define a constexpr static > local variable. Incidentally, this was fixed for C++23 by P2647, implemented in GCC 13.