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

           Summary: Two different crashes inside Clang when compiling unions
                    with floats and integers.
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: LLVM Codegen
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
            Blocks: 3696


Created an attachment (id=2666)
 --> (http://llvm.org/bugs/attachment.cgi?id=2666)
Reduced testcase

The attached code crashes with the following error:

Assertion failed: ((Accum == NoClass || Accum == Integer || Accum == SSE ||
Accum == SSEUp) && "Invalid accumulated classification during merge."),
function merge, file CGCall.cpp, line 478.

When void *k is removed from the struct, you get the following error:

Assertion failed: (0 && "Invalid classification for hi word."), function
classifyArgumentType, file CGCall.cpp, line 879.


-- 
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