[LLVMbugs] [Bug 3747] New: Crash in llvm-as with void field in struct

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Mar 6 22:30:54 PST 2009


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

           Summary: Crash in llvm-as with void field in struct
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu


Testcase:
%x = type {void}

Run through llvm-as:
llvm-as: /home/eli/llvm/lib/VMCore/Type.cpp:346:
llvm::StructType::StructType(const std::vector<const llvm::Type*,
std::allocator<const llvm::Type*> >&, bool): Assertion `Types[i] !=
Type::VoidTy && "Void type for structure field!!"' failed.


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