PR c++/77907 - static init and PMF
authorJason Merrill <jason@redhat.com>
Mon, 28 Nov 2016 04:00:36 +0000 (23:00 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 28 Nov 2016 04:00:36 +0000 (23:00 -0500)
commitf9438bbb2e36eea2a61d09ee268704aff4f15d81
treeb564ea785bf851834a9df29dcee1e601aa52aa45
parentc190974fe5d7eb10db856939312e1c9b1e6f7775
PR c++/77907 - static init and PMF

* constexpr.c (cxx_eval_constant_expression): Use cp_fold_convert.

From-SVN: r242906
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/cpp0x/pr77907.C