struct X { int a[1]; }; constexpr bool b = (X{}.a != 0); <source>:7:27: error: '(((int*)(&<anonymous>.X::a)) != 0)' is not a constant expression 7 | constexpr bool b = (X{}.a != 0); | ~~~~~~~^~~~~ AFAICT this does not fall foul of anything in [expr.const]. Other compilers accept, with a tautological-compare warning in the case of clang. Similar to bug 71962, but this happens without enabling sanitizer.
Dup of bug 85944. *** This bug has been marked as a duplicate of bug 85944 ***