[LLVMbugs] [Bug 14735] New: llvm::SplitAnalysis::calcLiveBlockInfo(): Assertion `BI.FirstInstr >= Start' failed
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Dec 28 14:43:58 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=14735
Bug #: 14735
Summary: llvm::SplitAnalysis::calcLiveBlockInfo(): Assertion
`BI.FirstInstr >= Start' 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: antoine.balestrat at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9766
--> http://llvm.org/bugs/attachment.cgi?id=9766
Testcase
Hello ! I'm using LLVM/Clang 3.3 as of r171199 :
$ clong -w -O2 -m32 greedy.c
clang: /home/merkil/git/clang/llvm/lib/CodeGen/SplitKit.cpp:206: bool
llvm::SplitAnalysis::calcLiveBlockInfo(): Assertion `BI.FirstInstr >= Start'
failed.
0 clang 0x0000000001ad0eff
1 clang 0x0000000001ad13e3
2 libpthread.so.0 0x00007f2108539910
3 libc.so.6 0x00007f21077a2ff5 gsignal + 53
4 libc.so.6 0x00007f21077a4307 abort + 327
5 libc.so.6 0x00007f210779c1b2
6 libc.so.6 0x00007f210779c262
7 clang 0x0000000001616abe llvm::SplitAnalysis::calcLiveBlockInfo()
+ 1486
8 clang 0x000000000161617e llvm::SplitAnalysis::analyzeUses() + 558
9 clang 0x00000000015df92f
10 clang 0x00000000015de2e5
11 clang 0x00000000016d5fc9 llvm::RegAllocBase::allocatePhysRegs() +
825
12 clang 0x00000000015ddb63
13 clang 0x00000000015a7764
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 116
14 clang 0x0000000001a733ac
llvm::FPPassManager::runOnFunction(llvm::Function&) + 444
15 clang 0x0000000001a735ab
llvm::FPPassManager::runOnModule(llvm::Module&) + 59
16 clang 0x0000000001a7391e
llvm::MPPassManager::runOnModule(llvm::Module&) + 494
17 clang 0x0000000001a73f28 llvm::PassManagerImpl::run(llvm::Module&)
+ 456
18 clang 0x0000000001a740ca llvm::PassManager::run(llvm::Module&) +
10
19 clang 0x00000000007aec37
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 6007
20 clang 0x00000000007ac70a
21 clang 0x00000000008e2185 clang::ParseAST(clang::Sema&, bool, bool)
+ 549
22 clang 0x00000000007ab75c clang::CodeGenAction::ExecuteAction() +
204
23 clang 0x000000000064938a clang::FrontendAction::Execute() + 106
24 clang 0x000000000062a6ad
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 989
25 clang 0x00000000006107f0
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3936
26 clang 0x00000000006073f6 cc1_main(char const**, char const**, char
const*, void*) + 694
27 clang 0x000000000060c836 main + 3542
28 libc.so.6 0x00007f210778f985 __libc_start_main + 245
29 clang 0x000000000060707d
Stack dump:
0. Program arguments: /home/merkil/git/clang/build/Release+Asserts/bin/clang
-cc1 -triple i386-unknown-linux-gnu -emit-obj -disable-free -main-file-name
greedy.c -mrelocation-model static -fmath-errno -masm-verbose
-mconstructor-aliases -fuse-init-array -target-cpu pentium4
-target-linker-version 2.23.1 -momit-leaf-frame-pointer -resource-dir
/home/merkil/git/clang/build/Release+Asserts/bin/../lib/clang/3.3
-fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem
/usr/local/include -internal-isystem
/home/merkil/git/clang/build/Release+Asserts/bin/../lib/clang/3.3/include
-internal-externc-isystem /include -internal-externc-isystem /usr/include -O2
-w -fdebug-compilation-dir /home/merkil -ferror-limit 19 -fmessage-length 0
-mstackrealign -fobjc-runtime=gcc -fdiagnostics-show-option -backend-option
-vectorize-loops -o /tmp/greedy-z1RnWZ.o -x c greedy.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'greedy.c'.
4. Running pass 'Greedy Register Allocator' on function '@f'
clang: error: unable to execute command: Aborted
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.3 (trunk 171199)
Target: i386-unknown-linux-gnu
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
--
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