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: [email protected]
ReportedBy: [email protected]
// 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).