http://llvm.org/bugs/show_bug.cgi?id=3001

           Summary: clang: Assertion failed: ... "not sorted by InitIndex!",
                    function CreateDesignation,
                    include/clang/Parse/Designator.h:206
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: crash-on-invalid
          Severity: normal
          Priority: P2
         Component: parser
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


struct s1 s2 = {
    .a = sizeof(struct s3),
    .b = c
}


<stdin>:2:10: error: invalid application of 'sizeof' to an incomplete type
'struct s3'
    .a = sizeof(struct s3),
         ^     ~~~~~~~~~~~
Assertion failed: ((Designations.empty() || Designations.back().InitIndex <
Idx) && "not sorted by InitIndex!"), function CreateDesignation, file
/Users/rwg/llvm/svn-src/llvm-trunk/tools/clang/lib/Parse/../../include/clang/Parse/Designator.h,
line 206.


llvm/clang r58543 (trunk)


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to