This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/52671] [4.7/4.8 Regression] ICE with misplaced attribute on enum


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]