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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Seen using r71415 on Ubuntu Hardy on x86.

reg...@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.

reg...@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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to