https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 108617, which changed state.
Bug 108617 Summary: nullptr comparision in constexpr function reported as not constexpr when using -fsanitize=returns-nonnull-attribute https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108617 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE