OSDN Git Service

PR c++/52671
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Mar 2012 20:27:38 +0000 (20:27 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Mar 2012 20:27:38 +0000 (20:27 +0000)
commitdf7e02fa93e6fe3e8649f90982be7048c28ca048
treebcf1acdefd2ba678957a72d31c882facd2de5001
parentec410e135e055ac2549bde1b6e41a3198ac6ef15
PR c++/52671
* decl.c (check_tag_decl): Only use CLASSTYPE_TEMPLATE_INSTANTIATION
on CLASS_TYPE_P types.

* g++.dg/ext/attrib44.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185710 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog