re PR c++/66320 (ICE: in cxx_eval_constant_expression, at cp/constexpr.c:3524)
authorJason Merrill <jason@redhat.com>
Sun, 31 May 2015 20:36:18 +0000 (16:36 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 31 May 2015 20:36:18 +0000 (16:36 -0400)
commit6ad6af49da1d0e069cb828fa2a8b846b326caada
tree46fdad37f6099493987210331c1098ff40ec7be7
parentce8cddc1b55feef20e7d8f55c742b775aa23aea9
re PR c++/66320 (ICE: in cxx_eval_constant_expression, at cp/constexpr.c:3524)

PR c++/66320
* constexpr.c (cxx_eval_constant_expression): Treat a placeholder
with the wrong type as non-constant.

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