]> gcc.gnu.org Git - gcc.git/commit
re PR c++/52671 (ICE with misplaced attribute on enum)
authorJakub Jelinek <jakub@redhat.com>
Thu, 22 Mar 2012 20:25:02 +0000 (21:25 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 22 Mar 2012 20:25:02 +0000 (21:25 +0100)
commitd4655dc7dd7f36c1fd31c12dd912ec1a78654f10
tree8a0b069fe119b47b9a1fac8f4a758fc2a46738fc
parentc140ddf3923d59603aa2ceb834085ab159b77972
re PR c++/52671 (ICE with misplaced attribute on enum)

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.

From-SVN: r185709
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/attrib44.C [new file with mode: 0644]
This page took 0.059497 seconds and 5 git commands to generate.