re PR c++/63415 (internal compiler error: unexpected expression ‘static_cast<int...
authorJason Merrill <jason@redhat.com>
Thu, 9 Oct 2014 18:05:23 +0000 (14:05 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 9 Oct 2014 18:05:23 +0000 (14:05 -0400)
commit5d4fffb822d1370d3e8efb694dbc9dc35d003de8
treee693169104be90738ecedfcb42e33ae921774d61
parent96e780c0873477bb2b9ab34306e4694dad6626aa
re PR c++/63415 (internal compiler error: unexpected expression ‘static_cast<int>(std::is_same<T, A1>{})’ of kind static_cast_expr)

PR c++/63415
* pt.c (value_dependent_expression_p) [CONSTRUCTOR]: Check the type.
(iterative_hash_template_arg): Likewise.

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