re PR c++/57016 ([C++0x] ICE: unexpected expression '__is_final(hash<int>)' of kind...
authorJason Merrill <jason@redhat.com>
Mon, 20 May 2013 21:34:35 +0000 (17:34 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 20 May 2013 21:34:35 +0000 (17:34 -0400)
commita31ed47cf034b86b88d1e8d6e76c708a8f695f63
treeb147e4508ea94f0d360850c002643b026b5c6fa1
parent6e5fba0ef6cc1b784f0a11f89e362973e706c602
re PR c++/57016 ([C++0x] ICE: unexpected expression '__is_final(hash<int>)' of kind trait_expr)

PR c++/57016
* pt.c (instantiation_dependent_r) [TRAIT_EXPR]: Only check type2
if there is one.

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