[LLVMbugs] [Bug 5373] New: assertion error in infinite loop
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Nov 2 13:56:53 PST 2009
http://llvm.org/bugs/show_bug.cgi?id=5373
Summary: assertion error in infinite loop
Product: new-bugs
Version: trunk
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: jxyang at cs.utah.edu
CC: llvmbugs at cs.uiuc.edu, regehr at cs.utah.edu
The following small program caused assertion failure at O1 and above. It's seen
on Ubuntu Jaunty on x86.
jason at lajiao:~/rp-trunk/tests$ clang -v
clang version 1.1 (trunk 85811)
Target: i386-pc-linux-gnu
=============================================
#include <stdint.h>
#include <assert.h>
int32_t* func_16(int** p_18, int* p_20)
{
uint32_t i;
for (i = 6; i >= 0; i++)
{
assert (p_18 == 0);
assert (p_20 == 0); // fail!!!
}
return 0;
}
/* ---------------------------------------- */
int main(void)
{
func_16(0, 0);
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