The following invalid code snippet triggers an ICE in the C frontend
since GCC 4.1.0:

======================
void foo()
{
    int i();
    i += 0;
}
======================

bug.c: In function 'foo':
bug.c:4: internal compiler error: in default_conversion, at c-typeck.c:1619
Please submit a full bug report, [etc.]


-- 
           Summary: [4.1/4.2 regression] ICE using += with a function
           Product: gcc
           Version: 4.2.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=27721

Reply via email to