[LLVMbugs] [Bug 2309] New: codegening static structure inside functions triggers assertion
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat May 10 17:12:55 PDT 2008
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: unassignedbugs at nondot.org
ReportedBy: nunoplopes at sapo.pt
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list