[LLVMbugs] [Bug 4188] New: ICE: Dereferencing end()!
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sun May 10 20:41:41 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4188
Summary: ICE: Dereferencing end()!
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: regehr at cs.utah.edu
CC: llvmbugs at cs.uiuc.edu
Seen using r71415 on Ubuntu Hardy on x86.
regehr at john-home:~/volatile/tmp164$ llvm-gcc -O2 small.c
cc1: /home/regehr/z/tmp/llvm-r71415/include/llvm/ADT/ilist.h:192:
llvm::ilist_iterator<NodeTy>::operator typename bidirectional_iterator<NodeTy,
int>::pointer() const [with NodeTy = llvm::MachineBasicBlock]: Assertion
`Traits::getNext(NodePtr) != 0 && "Dereferencing end()!"' failed.
small.c:19: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs/> for instructions.
regehr at john-home:~/volatile/tmp164$ cat small.c
static char foo (int _si1, char _si2)
{
return 1 < +_si1 && _si2 && _si1 < +_si2 || _si2 && _si1
&& _si2 + _si1 ? : _si1;
}
volatile int g_9;
int func_88 (int p_90, char p_91)
{
}
int86 (int p_87)
{
for (1;;)
{
func_88 (foo (g_9, p_87), 1);
}
}
--
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