http://llvm.org/bugs/show_bug.cgi?id=2309
Summary: codegening static structure inside functions triggers
assertion
Product: clang
Version: unspecified
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
Created an attachment (id=1632)
--> (http://llvm.org/bugs/attachment.cgi?id=1632)
test case
clang -emit-llvm triggers the following assertion with the code attached:
clang: Constants.cpp:381: llvm::ConstantStruct::ConstantStruct(const
llvm::StructType*, const std::vector<llvm::Constant*,
std::allocator<llvm::Constant*> >&):
Assertion `V.size() == T->getNumElements() && "Invalid initializer vector for
constant structure"' 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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs