re PR c++/65695 (NSDMI calling constexpr constructor with pointer-to-member is not...
authorJason Merrill <jason@redhat.com>
Tue, 14 Apr 2015 16:02:41 +0000 (12:02 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 14 Apr 2015 16:02:41 +0000 (12:02 -0400)
commitfb899e32c16088cad1a19a3e8df615ecfd1332db
treea57c3613c19a2fab37e9e8792a22f3a1abc3fee6
parent0f19e7adef3f2818fd0b363306791c23b0656b62
re PR c++/65695 (NSDMI calling constexpr constructor with pointer-to-member is not a constant expression)

PR c++/65695
* cvt.c (cp_fold_convert): Avoid wrapping PTRMEM_CST in NOP_EXPR.

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