Skip to content

LiveVariables assertion prevents llvm-gcc build #1579

@llvmbot

Description

@llvmbot
Bugzilla Link 1207
Resolution FIXED
Resolved on Feb 22, 2010 12:48
Version trunk
OS Linux
Reporter LLVM Bugzilla Contributor
CC @asl,@lattner

Extended Description

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 ()

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillacompile-failUse [accepts-invalid] and [rejects-valid] insteadllvm:codegen

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions