https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71896
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Thu Jul 21 06:16:24 2016 New Revision: 238575 URL: https://gcc.gnu.org/viewcvs?rev=238575&root=gcc&view=rev Log: PR c++/71896 - constexpr pointer-to-member comparison. * constexpr.c (cxx_eval_binary_expression): Handle comparison between lowered and unlowered PTRMEM_CST. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-ptrmem6.C Modified: branches/gcc-6-branch/gcc/cp/ChangeLog branches/gcc-6-branch/gcc/cp/constexpr.c