https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70172
--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> --- I should add that the bogus "reinterpret_cast" error goes away when the address of a non-array member is used instead, as in the test case below, even though this modified test case is also invalid for the same reason (using a null pointer). Failing to diagnose the modified test case is the subject of bug 60760. $ cat z.c && /home/msebor/build/gcc-trunk-svn/gcc/xgcc -B/home/msebor/build/gcc-trunk-svn/gcc -S -Wall -Wextra -Wpedantic -o/dev/null -xc++ z.c struct S { int a, b; } s; constexpr S *p = (S*)0; constexpr const int *q = &p->b;