[LLVMbugs] [Bug 3486] New: null ptr deref in llvm::SimpleRegisterCoalescing:: JoinIntervals(llvm::LiveInterval&, llvm::LiveInterval&, bool&)

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Feb 4 19:48:06 PST 2009


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

           Summary: null ptr deref in
                    llvm::SimpleRegisterCoalescing::JoinIntervals(llvm::Live
                    Interval&, llvm::LiveInterval&, bool&)
           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 r63800 on Ubuntu Hardy on x86.

regehr at john-home:~/volatile/tmp136$ llvm-gcc -O3 small.c
small.c:21: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.

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

short bar (short x, short y)
{
  return -32767 - 1 && y ? x : (x / y);
}

int g_95;

int baz (int);

int foo (char p_26)
{
  if (p_26 == !p_26)
    {
      p_26 = bar (0 >= (baz (1) && p_26), p_26);
      return p_26;
    }
  for (1; g_95; 1)
    {
    }
  return 0;
}


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