// C++ testcase, compile with -O0

extern "C" {
  struct T {
    enum { E };
  };
}

bug.ii:5: internal compiler error: tree check: expected tree that contains 'decl
with visibility' structure, have 'const_decl'  in decl_linkage, at 
cp/tree.c:2132

-- 
           Summary: [4.1 regression] ICE expected tree that contains 'decl
                    with visibility' structure, have 'const_decl'  in
                    decl_linkage, at cp/tree.c:2132
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, ice-checking
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: belyshev at depni dot sinp dot msu dot ru
                CC: dberlin at gcc dot gnu dot org,gcc-bugs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22452

Reply via email to