This invalid tescase causes segfault in strcmp() called from
annotate_with_file_line() in both new C and C++ parsers:

--------------------------
f(){for
--------------------------

-- 
           Summary: [4.0/4.1 regression] "f(){for" crashes the compiler
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery
          Severity: minor
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: belyshev at depni dot sinp dot msu dot ru
                CC: gcc-bugs at gcc dot gnu dot org


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

Reply via email to