PR c++/77775 - misoptimization of PMF comparison
authorJason Merrill <jason@redhat.com>
Tue, 4 Oct 2016 21:14:18 +0000 (17:14 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 4 Oct 2016 21:14:18 +0000 (17:14 -0400)
commit2db613e5d3a2698fcd32460ad23b0c1b8ae31c7a
tree1a5e32cc80f2acb985b965737519edc6c20b1820
parent76b294d48d6c375b76f1695ea56c960d5473439b
PR c++/77775 - misoptimization of PMF comparison

* constexpr.c (cxx_eval_component_reference): Use name matching
for PMFs.

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