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] New: [4.7/4.8 Regression] ICE with misplaced attribute on enum


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).


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