PR c++/71896 - constexpr pointer-to-member comparison.
authorJason Merrill <jason@redhat.com>
Thu, 21 Jul 2016 06:05:51 +0000 (02:05 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 21 Jul 2016 06:05:51 +0000 (02:05 -0400)
commitdd5dda561e34151f0145d0c0ceabf4d4a14509a3
treed5526e15a599d07e8725ca86188cdca31c1ff634
parent4683f47cff862d23d48c2b9c6938b8b0e6b3253c
PR c++/71896 - constexpr pointer-to-member comparison.

* constexpr.c (cxx_eval_binary_expression): Handle comparison
between lowered and unlowered PTRMEM_CST.

From-SVN: r238562
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/cpp0x/constexpr-ptrmem6.C [new file with mode: 0644]