/cp
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Jun 2013 08:34:09 +0000 (08:34 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Jun 2013 08:34:09 +0000 (08:34 +0000)
commit4e308cb8dacde1b7b6c98aad9134d4e0044deba6
treedf80ea5275c8283d97b3e69a3c3f8a6ddbab0037
parente0fe6977f89cbdc9e01a1fb774677f8ff5ccafb7
/cp
2013-06-07  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53658
* pt.c (lookup_template_class_1): Consistently use TYPE_MAIN_DECL,
not TYPE_STUB_DECL, to access the _DECL for a _TYPE.

/testsuite
2013-06-07  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53658
* g++.dg/cpp0x/alias-decl-36.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199793 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/alias-decl-36.C [new file with mode: 0644]