[LLVMbugs] [Bug 4553] New: Assertion `NodePtr && "--'d off the beginning of an ilist!" ' failed.
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Jul 13 19:58:25 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4553
Summary: Assertion `NodePtr && "--'d off the beginning of an
ilist!"' failed.
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 Ubuntu Hardy on x86.
regehr at john-home:~/volatile/tmp168$ llvm-gcc -O small.c
small.c:25: warning: large integer implicitly truncated to unsigned type
small.c:28: warning: excess elements in struct initializer
small.c:28: warning: (near initialization for ‘g_180’)
small.c: In function ‘func_167’:
small.c:41: warning: excess elements in struct initializer
small.c:41: warning: (near initialization for ‘l_208.f2.f1’)
cc1: /home/regehr/z/tmp/llvm-r75580/include/llvm/ADT/ilist.h:213:
llvm::ilist_iterator<NodeTy>& llvm::ilist_iterator<NodeTy>::operator--() [with
NodeTy = llvm::Instruction]: Assertion `NodePtr && "--'d off the beginning of
an ilist!"' failed.
small.c: At top level:
small.c:47: 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/tmp168$ llvm-gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure
--prefix=/home/regehr/z/tmp/llvm-gcc-r75580-install
--program-prefix=llvm-r75580- --enable-languages=c,c++
--enable-llvm=/home/regehr/z/tmp/llvm-r75580 --enable-checking=release
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5646) (LLVM build)
regehr at john-home:~/volatile/tmp168$ cat small.c
unsigned short safe_sub_func_uint_u_u (unsigned short _ui1, unsigned short
_ui2)
{
return -_ui2;
}
struct S0
{
};
struct S1
{
unsigned short f0;
struct S0 f1;
};
struct S2
{
char f1;
struct S1 f2;
};
int g_143;
struct S2 g_180 = {
-3L, 0xB066DA58L, {
}
, 0x6ED36738L
};
char func_24 (struct S2 p_25, char p_26, char p_27)
{
return p_25.f2.f0;
}
struct S0 func_167 (struct S1 p_168, char p_169)
{
for (g_143 = 0; g_143 >= 0; g_143 = safe_sub_func_uint_u_u (g_143, 1))
{
struct S2 l_208 = {
0, 0L, 0xC23F51DEL
};
for (g_143 = 0; 0; 1)
{
}
p_168.f0 = func_24 (l_208, g_180.f1, 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