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

           Summary: clang hang
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


This bug appeared during the last week or so.

'clang -O2' loops apparently forever when trying to compile the code below.  

This is r123879 on x86 Linux.

static int foo (int si1, int si2)
{
  return si1 - si2;
}

void bar (void)
{
  unsigned char l_197;
  for (;; l_197 = foo (l_197, 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