clang version 2.9 (trunk 123166)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Fails to compile ctags 5.8 (also 5.6), specifically eiffel.c:
$ clang -v -c e.c -O2 -Wno-unused-value
clang version 2.9 (trunk 123166)
Target: x86_64-unknown-linux-gnu
Thread model: posix
"/home/csaba/bin/clang" -cc1 -triple x86_64-unknown-linux-gnu
-emit-obj -disable-free -main-file-name e.c -mrelocation-model static
-mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables
-target-cpu x86-64 -target-linker-version 11.3 -v -resource-dir
/home/csaba/bin/../lib/clang/2.9 -O2 -Wno-unused-value -ferror-limit
19 -fmessage-length 207 -fgnu-runtime -fdiagnostics-show-option
-fcolor-diagnostics -o e.o -x c e.c
clang -cc1 version 2.9 based upon llvm 2.9svn hosted on x86_64-unknown-linux-gnu
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/home/csaba/bin/../lib/clang/2.9/include
/usr/include
End of search list.
clang: /home/csaba/LLVM/llvm/lib/Transforms/Scalar/LoopRotation.cpp:343:
bool<unnamed>::LoopRotate::rotateLoop(llvm::Loop*): Assertion `DidIt
&& "Block merge failed??"' failed.
0 clang 0x00000000019cbeaf
1 clang 0x00000000019cc9ea
2 libpthread.so.0 0x00007f23a40982e0
3 libc.so.6 0x00007f23a33e09e5 gsignal + 53
4 libc.so.6 0x00007f23a33e1ee6 abort + 390
5 libc.so.6 0x00007f23a33d9235 __assert_fail + 245
6 clang 0x0000000001645767
7 clang 0x0000000001645881
8 clang 0x00000000017d7d67
llvm::LPPassManager::runOnFunction(llvm::Function&) + 1287
9 clang 0x0000000001901937
llvm::FPPassManager::runOnFunction(llvm::Function&) + 599
10 clang 0x000000000178386d
11 clang 0x00000000019014c7
llvm::MPPassManager::runOnModule(llvm::Module&) + 551
12 clang 0x0000000001901617
llvm::PassManagerImpl::run(llvm::Module&) + 167
13 clang 0x00000000007a6f27
clang::EmitBackendOutput(clang::Diagnostic&, clang::CodeGenOptions
const&, clang::TargetOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 2167
14 clang 0x00000000007a3ffb
15 clang 0x00000000009135ed clang::ParseAST(clang::Sema&, bool) +
301
16 clang 0x00000000007a4d74 clang::CodeGenAction::ExecuteAction() + 68
17 clang 0x0000000000683c15
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 357
18 clang 0x000000000065d74a
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1242
19 clang 0x0000000000653533 cc1_main(char const**, char
const**, char const*, void*) + 707
20 clang 0x000000000065c783 main + 5267
21 libc.so.6 0x00007f23a33ccb7d __libc_start_main + 253
22 clang 0x0000000000653089
Stack dump:
0. Program arguments: /home/csaba/bin/clang -cc1 -triple
x86_64-unknown-linux-gnu -emit-obj -disable-free -main-file-name e.c
-mrelocation-model static -mdisable-fp-elim -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64
-target-linker-version 11.3 -v -resource-dir
/home/csaba/bin/../lib/clang/2.9 -O2 -Wno-unused-value -ferror-limit
19 -fmessage-length 207 -fgnu-runtime -fdiagnostics-show-option
-fcolor-diagnostics -o e.o -x c e.c
1. <eof> parser at end of file
2. Per-module optimization passes
3. Running pass 'CallGraph Pass Manager' on module 'e.c'.
4. Running pass 'Loop Pass Manager' on function
'@findEiffelTags'
5. Running pass 'Rotate Loops' on basic block '%while.cond'
clang: error: unable to execute command: Aborted
clang: error: clang frontend command failed due to signal 1 (use -v to
see invocation)
I have a preprocessor output from which I commented out parts while
still showing the error. Wher should I send it?
Csaba
--
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus
Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds