https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 52902, which changed state.
Bug 52902 Summary: Pointer to member rejected in constant expression https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52902 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED