The following valid code snippet causes an ICE (segfault) since GCC 4.1.0:

========================
int i = (int){i};
========================


-- 
           Summary: [4.1/4.2 regression] ICE on variable initialization
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, 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=27491

Reply via email to