The following invalid code snippet triggers an ICE on mainline and the
4.2 branch::

========================
static extern int i;
========================

bug.cc:1: error: conflicting specifiers in declaration of 'i'
bug.cc:1: internal compiler error: in start_decl, at cp/decl.c:3985
Please submit a full bug report, [etc.]


-- 
           Summary: [4.2/4.3 regression] ICE combining static and extern
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery, monitored
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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

Reply via email to