[LLVMbugs] [Bug 2376] New: std:: vector subscript out of range error in LocalSpiller when rewriting function
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue May 27 12:36:16 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2376
Summary: std::vector subscript out of range error in LocalSpiller
when rewriting function
Product: tools
Version: trunk
Platform: PC
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: llc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: spudder at blueyonder.co.uk
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=1672)
--> (http://llvm.org/bugs/attachment.cgi?id=1672)
Bugpoint reduced testcase
Hi,
Compiling the attached testcase with llc on Windows Vista - SVN revision 51603,
built using VS 2005 - triggers a debug assertion from inside the MSVC++
standard library when attempting to access an element of a vector that doesn't
exist.
Running llc through the debugger, the code triggering this error is in
VirtRegMap.cpp:InvalidateKills
[snip]
if (KillOps[Reg] == &MO) {
RegKills.reset(Reg);
KillOps[Reg] = NULL;
}
[/snip]
Here, the value of "Reg" is 1061, but the size of KillOps is only 112.
--
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