[LLVMbugs] [Bug 9823] New: Assertion `SegStart >= Intf.last() && "Couldn't avoid interference"' failed.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun May 1 13:27:10 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=9823
Summary: Assertion `SegStart >= Intf.last() && "Couldn't avoid
interference"' 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, chenyang at cs.utah.edu
regehr at home:~/volatile/bugs/tmp024$ clang -c -O -w small.c
clang: RegAllocGreedy.cpp:799:
void<unnamed>::RAGreedy::splitAroundRegion(llvm::LiveInterval&,
<unnamed>::RAGreedy::GlobalSplitCandidate&,
llvm::SmallVectorImpl<llvm::LiveInterval*>&): Assertion `SegStart >=
Intf.last() && "Couldn't avoid interference"' failed.
0 clang 0x09643c58
Stack dump:
0. Program arguments:
/mnt/z/z/compiler-install/llvm-gcc-r130662-install/bin/clang -cc1 -triple
i386-pc-linux-gnu -emit-obj -disable-free -main-file-name small.c
-mrelocation-model static -mdisable-fp-elim -masm-verbose -mconstructor-aliases
-target-cpu pentium4 -target-linker-version 2.20.51 -momit-leaf-frame-pointer
-resource-dir
/mnt/z/z/compiler-install/llvm-gcc-r130662-install/bin/../lib/clang/3.0 -O2 -w
-ferror-limit 19 -fmessage-length 80 -fgnu-runtime -fdiagnostics-show-option
-fcolor-diagnostics -o small.o -x c small.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'small.c'.
4. Running pass 'Greedy Register Allocator' on function '@func_64'
clang: error: unable to execute command: Aborted
clang: error: clang frontend command failed due to signal 1 (use -v to see
invocation)
regehr at home:~/volatile/bugs/tmp024$ clang -v
clang version 3.0 (trunk 130662)
Target: i386-pc-linux-gnu
Thread model: posix
regehr at home:~/volatile/bugs/tmp024$ cat small.c
int safe_4 (int si1, int si2)
{
return si2 && (1 / si1) ? si1 : si2;
}
int safe_6 (char si1, char si2)
{
return si2 == 0 || si1 && si2 == 1 ? si1 : 1;
}
int safe_26 (int si1, int si2)
{
return si2 ? si1 : (si1 / si2);
}
int safe_55 (int ui1, int ui2)
{
return ui1;
}
int g_3;
int g_301;
int g_382;
int func_64 (int p_65, int p_67)
{
int l_79;
int l_357;
for (l_357 = 0; l_357 <= 0; l_357 = 1)
if (p_67)
break;
for (l_79 = 0; l_79 <= 0; l_79 += 1)
if (safe_6
(safe_26 (safe_55 (g_301 >= 1, 0), safe_4 (g_3, p_65)), l_357)
|| g_301)
for (; g_382; g_382 -= 1);
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