http://llvm.org/bugs/show_bug.cgi?id=3028
Summary: Assertion `i < NumOperands && "getOperand() out of
range!"' failed
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 r58928 on Ubuntu Hardy on x86.
[EMAIL PROTECTED]:~/volatile/tmp58$ llvm-gcc -O2 small.c
cc1: /home/regehr/llvm/include/llvm/User.h:93: llvm::Value*
llvm::User::getOperand(unsigned int) const: Assertion `i < NumOperands &&
"getOperand() out of range!"' failed.
small.c: In function âfunc_20â:
small.c:11: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
[EMAIL PROTECTED]:~/volatile/tmp58$ cat small.c
int g_187;
int g_204;
int g_434;
int func_89 (void)
{
return 1;
}
void func_20 (int p_22)
{
if (1 & p_22 | g_204 & (1 < g_187) - func_89 ())
g_434 = 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