[LLVMbugs] [Bug 2594] New: crash in SelectionDAGLowering with va_arg applied to struct type

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Jul 24 18:45:46 PDT 2008


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

           Summary: crash in SelectionDAGLowering with va_arg applied to
                    struct type
           Product: new-bugs
           Version: unspecified
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: daniel at zuster.org
                CC: llvmbugs at cs.uiuc.edu


llc crashes in SelectionDAGLowering on the following code:
--
%S = type <{ i32, i32 }>

define void @test() {
        va_arg i8** null, %S
        unreachable
}
--
ddunbar at il0102b-dhcp47:rt$ llvm-as -o - boom.ll | llc
Assertion failed: (0 && "Unknown type!"), function getMVT, file ValueTypes.cpp,
line 109.
0   llc                                 0x00774783 _ZSt4findIPKccET_S2_S2_RKT0_
+ 97


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