[LLVMbugs] [Bug 6860] New: ice: Live range not found
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Apr 17 19:48:08 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=6860
Summary: ice: Live range not found
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
As below. Seen on x64 Linux.
[regehr at gamow tmp403]$ clang -O1 small.c
clang: SimpleRegisterCoalescing.cpp:646: bool
llvm::SimpleRegisterCoalescing::ReMaterializeTrivialDef(llvm::LiveInterval&,
unsigned int, unsigned int, llvm::MachineInstr*): Assertion `SrcLR !=
SrcInt.end() && "Live range not found!"' failed.
0 clang 0x0000000001246a0f
1 clang 0x0000000001248912
2 libpthread.so.0 0x00007fbb0fbc3190
3 libc.so.6 0x00007fbb0eec94b5 gsignal + 53
4 libc.so.6 0x00007fbb0eeccf50 abort + 384
5 libc.so.6 0x00007fbb0eec2481 __assert_fail + 241
6 clang 0x0000000000ef2f8f
7 clang 0x0000000000ef35cb
8 clang 0x0000000000ef80af
9 clang 0x0000000000ef94a7
10 clang 0x0000000000ef9c46
11 clang 0x0000000000efaaa8
12 clang 0x00000000011ca3fd
13 clang 0x00000000011ca5db
14 clang 0x00000000011ca89f
15 clang 0x0000000000415357
16 clang 0x0000000000415bd5
17 clang 0x000000000060eb09
18 clang 0x0000000000419721
19 clang 0x00000000004099bb
20 clang 0x000000000040cd2b main + 2491
21 libc.so.6 0x00007fbb0eeb4abd __libc_start_main + 253
22 clang 0x0000000000407199
Stack dump:
0. Program arguments:
/uusoc/exports/scratch/regehr/z/compiler-install/llvm-gcc-r101534-install/bin/clang
-cc1 -triple x86_64-unknown-linux-gnu -S -disable-free -main-file-name small.c
-mrelocation-model static -mdisable-fp-elim -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -resource-dir
/uusoc/exports/scratch/regehr/z/compiler-install/llvm-gcc-r101534-install/lib/clang/1.5
-O1 -ferror-limit 19 -fmessage-length 80 -fgnu-runtime
-fdiagnostics-show-option -fcolor-diagnostics -o /tmp/cc-ELwZYl.s -x c small.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Simple Register Coalescing' on function '@func_1'
clang: error: compiler command failed due to signal 6 (use -v to see
invocation)
[regehr at gamow tmp403]$ cat small.c
typedef short int int16_t;
typedef int int32_t;
typedef unsigned short int uint16_t;
typedef unsigned int uint32_t;
struct S0
{
int32_t f0;
volatile uint16_t f1;
const uint32_t f3;
volatile int16_t f4;
volatile uint32_t f6;
uint32_t f7;
};
struct S2
{
volatile struct S0 f2;
volatile struct S0 f3;
volatile struct S0 f5;
};
struct S2 g_557 = {
};
struct S2
func_1 (void)
{
return g_557;
}
[regehr at gamow tmp403]$ clang -v
clang version 1.5 (trunk 101534)
Target: x86_64-unknown-linux-gnu
Thread model: posix
--
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