https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 77911, which changed state.
Bug 77911 Summary: Comparing function pointers in a constexpr function can produce an error. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77911 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED