https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 118661, which changed state.
Bug 118661 Summary: [12 regression] Reading volatile qualified std::nullptr_t should be valid in a constant expression https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118661 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED