https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 96182, which changed state.
Bug 96182 Summary: GCC accepts constexpr function with no return-statement https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96182 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED