[LLVMbugs] [Bug 3735] New: Two different crashes inside Clang when compiling unions with floats and integers .

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Mar 5 01:54:10 PST 2009


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: unassignedclangbugs at nondot.org
        ReportedBy: ed at 80386.nl
                CC: llvmbugs at cs.uiuc.edu
            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.



More information about the llvm-bugs mailing list