[LLVMbugs] [Bug 1207] NEW: LiveVariables assertion prevents llvm-gcc build

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Feb 17 15:01:57 PST 2007


http://llvm.org/bugs/show_bug.cgi?id=1207

           Summary: LiveVariables assertion prevents llvm-gcc build
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rspencer at x10sys.com


After updating LLVM and applying recent patches to llvm-gcc
(CUMMULATIVE-276.patch sent to llvm-commits today), the llvm-gcc build now fails
while compiling libgcc, with:

cc1: LiveInterval.cpp:227: void llvm::LiveInterval::removeRange(unsigned int,
unsigned int): Assertion `I->contains(Start) && I->contains(End-1) && "Range is 
not entirely in interval!"' failed.

Stack trace:
#0  0x00826402 in __kernel_vsyscall ()
#1  0x00321ee9 in raise () from /lib/libc.so.6
#2  0x003234f1 in abort () from /lib/libc.so.6
#3  0x0031b859 in __assert_fail () from /lib/libc.so.6
#4  0x08735631 in llvm::LiveInterval::removeRange (this=0xaa2f1f0, Start=14,
End=115) at LiveInterval.cpp:226
#5  0x0873cd73 in llvm::LiveInterval::removeRange (this=0xaa2f1f0, LR={start =
14, end = 115, ValId = 0})
    at /proj/llvm/llvm-1/include/llvm/CodeGen/LiveInterval.h:253
#6  0x0873bbce in llvm::LiveIntervals::runOnMachineFunction (this=0xaa410e0, fn=
#7  0x0856a4aa in llvm::MachineFunctionPass::runOnFunction (this=0xaa410e0, F=
#8  0x088c13c8 in llvm::FPPassManager::runOnFunction (this=0xaa3fda8,
F=@0xaa55978) at PassManager.cpp:998
#9  0x088c162a in llvm::FunctionPassManagerImpl::run (this=0xaa3fac8,
F=@0xaa55978) at PassManager.cpp:953
#10 0x088c16ec in llvm::FunctionPassManager::run (this=0xaa3e0f8, F=@0xaa55978)
at PassManager.cpp:895
#11 0x0833b8d8 in llvm_asm_file_end () at ../../src-1/gcc/llvm-backend.cpp:473
#12 0x0830bdc9 in toplev_main (argc=0, argv=0xbfed1fc4) at
../../src-1/gcc/toplev.c:1167
#13 0x0030f4e4 in __libc_start_main () from /lib/libc.so.6
#14 0x0804e171 in _start ()



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list