[LLVMbugs] [Bug 7513] New: Assertion `ALR != IntA.end() && "Live range not found!"' failed
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Jun 27 22:52:17 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7513
Summary: Assertion `ALR != IntA.end() && "Live range not
found!"' failed
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
regehr at john-home:~/volatile/bugs/tmp317$ clang -v
clang version 2.8 (trunk 106941)
Target: i386-pc-linux-gnu
Thread model: posix
regehr at john-home:~/volatile/bugs/tmp317$ clang -O2 -fomit-frame-pointer small.c
-w
clang: SimpleRegisterCoalescing.cpp:125: bool
llvm::SimpleRegisterCoalescing::AdjustCopiesBackFrom(const
llvm::CoalescerPair&, llvm::MachineInstr*): Assertion `ALR != IntA.end() &&
"Live range not found!"' failed.
0 clang 0x0908b878
Stack dump:
0. Program arguments:
/home/regehr/z/compiler-install/llvm-gcc-r106941-install/bin/clang -cc1 -triple
i386-pc-linux-gnu -S -disable-free -main-file-name small.c -mrelocation-model
static -mconstructor-aliases -target-cpu pentium4 -resource-dir
/home/regehr/z/compiler-install/llvm-gcc-r106941-install/lib/clang/2.8 -O2 -w
-ferror-limit 19 -fmessage-length 93 -fgnu-runtime -fdiagnostics-show-option
-fcolor-diagnostics -o /tmp/cc-ebDaMQ.s -x c small.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Simple Register Coalescing' on function '@int320'
clang: error: clang frontend command failed due to signal 6 (use -v to see
invocation)
regehr at john-home:~/volatile/bugs/tmp317$ cat small.c
typedef unsigned char uint8_t;
typedef unsigned int uint32_t;
static uint8_t
safe_lshift_func_uint8_t_u_u (uint8_t left, unsigned int right)
{
return right >= left > 1 >> right ? left : left << right;
}
uint8_t g_8[4][10] = {
};
int320 (const uint32pint16p_23)
{
uint32_t l_281 = 0x73A2E64CL;
for (0;; 0)
{
uint8_t *l_283 = &g_8[2][1];
lbl_290:*l_283 ^=
func_26 (safe_lshift_func_uint8_t_u_u (l_281, l_281)), 0;
for (l_281 = 0; 0; 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