[Bug c++/52671] [4.7/4.8 Regression] ICE with misplaced attribute on enum
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 22 20:30:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52671
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-22 20:29:12 UTC ---
Author: jakub
Date: Thu Mar 22 20:29:01 2012
New Revision: 185711
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185711
Log:
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.
Added:
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/ext/attrib44.C
More information about the Gcc-bugs
mailing list