[LLVMbugs] [Bug 7250] New: Assert/Crash when using arrays of 64k elements or more in structs
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri May 28 10:48:44 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7250
Summary: Assert/Crash when using arrays of 64k elements or more
in structs
Product: new-bugs
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: ddneff at hotmail.com
CC: llvmbugs at cs.uiuc.edu
Using arrays of 64k or larger overflows the unsigned short SDNode::NumValues
variable, and leades to asserts/crashes. Simple test case:
; ModuleID = 'Q'
%0 = type { i64, i64, [65536 x double] }
@global_subject5747_522547216 = internal hidden global %0 zeroinitializer
define internal void @on_1_522492064(i64 %VALUE_0) {
entry:
store %0 zeroinitializer, %0* @global_subject5747_522547216
ret void
}
--
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