The following valid code snippet causes an ICE on mainline:

======================
void foo()
{
    L:
    !&&L;
}
======================

bug.c: In function 'foo':
bug.c:4: internal compiler error: tree check: expected tree that contains 'decl
with visibility' structure, have 'label_decl'  in
c_common_truthvalue_conversion, at c-common.c:2503
Please submit a full bug report, [etc.]


-- 
           Summary: [4.2 regression] ICE in c_common_truthvalue_conversion
                    with label address
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          Priority: P3
         Component: middle-end
        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=27382

Reply via email to