[LLVMbugs] [Bug 2372] New: ice
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon May 26 11:49:41 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2372
Summary: ice
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Windows XP
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
This is on svn 51560 for ia32 on Ubuntu Feisty.
[regehr at babel tmp10]$ llvm-gcc -O1 small.c
cc1: LiveVariables.cpp:143: void llvm::LiveVariables::HandleVirtRegUse(unsigned
int, llvm::MachineBasicBlock*, llvm::MachineInstr*): Assertion `MBB !=
MRI->getV
RegDef(reg)->getParent() && "Should have kill for defblock!"' failed.
small.c:30: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
[regehr at babel tmp10]$ cat small.c
typedef short int int16_t;
typedef int int32_t;
typedef unsigned char uint8_t;
typedef unsigned int uint32_t;
static inline int
lshift_s_s (int left, int right)
{
if ((left < 0) || (right) || (right >= sizeof (int))
|| (left > (1 >> right)))
return left;
return left << right;
}
int32_t
func_3 (int16_t p_5, int16_t p_6)
{
uint8_t l_127;
for (1; l_127; --l_127)
func_8 (((p_5
&& (func_8 ((func_8 (func_18 (p_5, p_5, 1), 1)), 1) *
(lshift_s_s (0x8CCBL, p_6))))), 1);
((rshift_s_s
(func_8 (p_5, (func_18 (0xDA599ACBL, (func_18 (1, p_6, 1)), 1))), 1)));
}
int32_t
func_8 (uint32_t p_9, uint32_t p_10)
{
return 1;
}
[regehr at babel tmp10]$
--
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