[LLVMbugs] [Bug 18643] New: Crash when compiling hash.c from libcxx.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 28 05:13:57 PST 2014


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

            Bug ID: 18643
           Summary: Crash when compiling hash.c from libcxx.
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: rich at pennware.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11958
  --> http://llvm.org/bugs/attachment.cgi?id=11958&action=edit
Shell script and preprocessed source

I get this with r200312:

[~] dev% sh hash-1af83f.sh
clang: /home/rich/llvm/lib/Analysis/LoopInfo.cpp:355: void
llvm::Loop::getUniqueExitBlocks(llvm::SmallVectorImpl<llvm::BasicBlock*>&)
const: Assertion `hasDedicatedExits() && "getUniqueExitBlocks assumes the loop
has canonical form exits!"' failed.
0  clang           0x0000000002437b02 llvm::sys::PrintStackTrace(_IO_FILE*) +
34
1  clang           0x0000000002437724
2  libpthread.so.0 0x0000003ca800f750
3  libc.so.6       0x0000003ca7835c59 gsignal + 57
4  libc.so.6       0x0000003ca7837368 abort + 328
5  libc.so.6       0x0000003ca782ebb6
6  libc.so.6       0x0000003ca782ec62
7  clang           0x00000000021dbb9e
8  clang           0x0000000001fc57b5
9  clang           0x00000000021e6b8f
llvm::LPPassManager::runOnFunction(llvm::Function&) + 1439
10 clang           0x00000000023285ff
llvm::FPPassManager::runOnFunction(llvm::Function&) + 655
11 clang           0x000000000214cef5
12 clang           0x0000000002328e0d
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 797
13 clang           0x000000000087dcb0
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) +
2784
14 clang           0x0000000000879626
15 clang           0x0000000000a1a2cb clang::ParseAST(clang::Sema&, bool, bool)
+ 507
16 clang           0x000000000087a03b clang::CodeGenAction::ExecuteAction() +
59
17 clang           0x00000000006e6619 clang::FrontendAction::Execute() + 249
18 clang           0x00000000006c4db0
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 352
19 clang           0x00000000006ace91
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1857
20 clang           0x00000000006a6838 cc1_main(char const**, char const**, char
const*, void*) + 1208
21 clang           0x00000000006853ea main + 666
22 libc.so.6       0x0000003ca7821d65 __libc_start_main + 245
23 clang           0x00000000006a55dd
Stack dump:
0.      Program arguments: /home/rich/llvm-dir/bin/clang -cc1 -triple
armv7eb-ellcc-linux-eabi -S -disable-free -main-file-name hash.cpp
-mrelocation-model static -mdisable-fp-elim -fmath-errno -mconstructor-aliases
-target-feature +soft-float-abi -target-feature +vfp2 -target-feature -neon
-target-abi aapcs -mfloat-abi soft -target-linker-version 2.23.2
-sys-header-deps -D _XOPEN_SOURCE=700 -D _GNU_SOURCE -D dl_info=Dl_info -O1
-std=c++11 -fdeprecated-macro -fno-dwarf-directory-asm -ferror-limit 19
-fmessage-length 80 -mstackrealign -fno-signed-char -fobjc-runtime=gcc
-fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics
-vectorize-slp -x c++ hash-1af83f.cpp 
1.      <eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'CallGraph Pass Manager' on module 'hash-1af83f.cpp'.
4.      Running pass 'Loop Pass Manager' on function
'@_ZNSt3__112__next_primeEj'
5.      Running pass 'Loop Invariant Code Motion' on basic block '%while.body'
hash-1af83f.sh: line 1: 16496 Aborted                
"/home/rich/llvm-dir/bin/clang" -cc1 -triple armv7eb-ellcc-linux-eabi -S
-disable-free -main-file-name hash.cpp -mrelocation-model static
-mdisable-fp-elim -fmath-errno -mconstructor-aliases -target-feature
+soft-float-abi -target-feature +vfp2 -target-feature -neon -target-abi aapcs
-mfloat-abi soft -target-linker-version 2.23.2 -sys-header-deps -D
"_XOPEN_SOURCE=700" -D "_GNU_SOURCE" -D "dl_info=Dl_info" -O1 -std=c++11
-fdeprecated-macro -fno-dwarf-directory-asm -ferror-limit 19 -fmessage-length
80 -mstackrealign -fno-signed-char -fobjc-runtime=gcc -fcxx-exceptions
-fexceptions -fdiagnostics-show-option -fcolor-diagnostics -vectorize-slp -x
c++ hash-1af83f.cpp
[~] dev%

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140128/fc6307fc/attachment.html>


More information about the llvm-bugs mailing list