Fix constexpr evaluation of comparisons involving pointer-to-members
gcc/cp/ChangeLog: * constexpr.c (cxx_eval_binary_expression): Fold equality comparisons involving PTRMEM_CSTs. gcc/testsuite/ChangeLog: * g++.dg/cpp0x/constexpr-ptrmem5.C: New test. From-SVN: r233158
Showing
Please
register
or
sign in
to comment