[LLVMbugs] [Bug 4815] New: Assertion `NodePtr && "--'d off the beginning of an ilist!" ' failed.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Aug 28 08:42:33 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=4815

           Summary: Assertion `NodePtr && "--'d off the beginning of an
                    ilist!"' failed.
           Product: new-bugs
           Version: trunk
          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 on Ubuntu Hardy.

regehr at john-home:~/volatile/tmp191$ llvm-gcc -O small.c
cc1: /home/regehr/z/tmp/llvm-r80328/include/llvm/ADT/ilist.h:212:
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:40: 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/tmp191$ llvm-gcc -v

Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure
--prefix=/home/regehr/z/tmp/llvm-gcc-r80328-install
--program-prefix=llvm-r80328- --enable-languages=c,c++
--enable-llvm=/home/regehr/z/tmp/llvm-r80328 --enable-checking=release
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5649) (LLVM build)

regehr at john-home:~/volatile/tmp191$ cat small.c

char foo (char ui1, char ui2)
{
  return 1 + ui2;
}

int bar (int ui1, int ui2)
{
  return 0;
}

char g9;
char g80;
int g90;

char func10 (int p12, char p13, char p14)
{
  return 0;
}

int func68 (int p69)
{
  if (1 < bar(0,0))
    p69 = 1;
  if (func10 (1, 1, g9))
    return p69;
  return 0;
}

void uint83 (int32p54)
{
  int l60;
  for (g80 = 1;; g80 = foo (g80, 1)) {
    l60=1;
    if (l60)
      {
        g80 = func68 (1);
        g80 = g90;
      }
  }
}


-- 
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