https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70248
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2020-10-15 Severity|minor |normal Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- Another example with a relational operator: constexpr const char* s = ""; constexpr const char* n = nullptr; constexpr bool b = s > n; The result of the comparison is unspecified because the pointers are not equal and don't point to subobjects of the same object. Clang, EDG and MSVC all reject it as expected.