re PR c++/63693 (ICE in resolve_typename_type)
authorPaolo Carlini <paolo.carlini@oracle.com>
Sat, 22 Aug 2015 17:44:46 +0000 (17:44 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sat, 22 Aug 2015 17:44:46 +0000 (17:44 +0000)
commit82e78c3f286b8f03008fb22229310cfe4174b1ca
treec8ea43d8552009f1ae662f8f4aaf98e41323b43b
parent2e969ce55137fdf615207106ceabcaa462ef74a2
re PR c++/63693 (ICE in resolve_typename_type)

/cp
2015-08-22  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/63693
* pt.c (resolve_typename_type): Use CLASSTYPE_PRIMARY_TEMPLATE_TYPE
only on class types.

/testsuite
2015-08-22  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/63693
* g++.dg/cpp0x/decltype63.C: New.

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