[LLVMbugs] [Bug 9013] New: clang hang
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jan 20 08:52:19 PST 2011
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: unassignedbugs at nondot.org
ReportedBy: regehr at cs.utah.edu
CC: llvmbugs at cs.uiuc.edu, chenyang at cs.utah.edu
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.
More information about the llvm-bugs
mailing list