https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 71457, which changed state.
Bug 71457 Summary: valid pointer plus conversion to bool rejected in constexpr context https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71457 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE