This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/16542] New: [lno] ICE with computed gotos


The lno-branch crashes on the following code snippet compiled
with -O2 (C or C++ frontend):

===================================
void foo(void *p)
{
    void* a[] = { &&l0, &&l1 };

    l0: goto *p;
    l1: goto *p;
}
===================================

The error message is:

bug.c: In function `foo':
bug.c:2: internal compiler error: in tree_split_edge, at tree-cfg.c:3098
Please submit a full bug report, [etc.]

This causes a bootstrap failure in libjava.

-- 
           Summary: [lno] ICE with computed gotos
           Product: gcc
           Version: lno
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]