This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52671] New: [4.7/4.8 Regression] ICE with misplaced attribute on enum
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 22 Mar 2012 16:39:30 +0000
- Subject: [Bug c++/52671] New: [4.7/4.8 Regression] ICE with misplaced attribute on enum
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52671
Bug #: 52671
Summary: [4.7/4.8 Regression] ICE with misplaced attribute on
enum
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: c++
AssignedTo: jakub@gcc.gnu.org
ReportedBy: jakub@gcc.gnu.org
// PR c++/XXXXX
// { dg-do compile }
__attribute__ ((deprecated)) enum E { E0 };// { dg-warning "attribute ignored
in declaration of" }
// { dg-message "must follow the" "" { target *-*-* } 3 }
ICEs in 4.7/4.8 starting with
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184753
(i.e. PR51930 fix).