[LLVMbugs] [Bug 18959] New: Crash in SROA

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Feb 25 01:11:38 PST 2014


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

            Bug ID: 18959
           Summary: Crash in SROA
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: tobias at grosser.es
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12137
  --> http://llvm.org/bugs/attachment.cgi?id=12137&action=edit
The preprocessed source code

I just noted a internal compiler error in SROA in the nightly test-suite
running 'clang -O3' (no Polly) that started between commit
202088 and 202099.

http://lab.llvm.org:8011/builders/polly-perf-O3/builds/1430

0  libLLVMSupport.so       0x00007f18fb2fd17e
llvm::sys::PrintStackTrace(_IO_FILE*) + 46
1  libLLVMSupport.so       0x00007f18fb2fd43b
2  libLLVMSupport.so       0x00007f18fb2fd6ae
3  libpthread.so.0         0x00007f18f658cbd0
4  libLLVMScalarOpts.so    0x00007f18fb3ab1bc
5  libLLVMScalarOpts.so    0x00007f18fb4d006f
6  libLLVMScalarOpts.so    0x00007f18fb4cdfd3
7  libLLVMScalarOpts.so    0x00007f18fb4cc178
8  libLLVMScalarOpts.so    0x00007f18fb4c9ee7
9  libLLVMScalarOpts.so    0x00007f18fb4c9865
10 libLLVMCore.so          0x00007f18fbe5738b
llvm::FPPassManager::runOnFunction(llvm::Function&) + 427
11 libLLVMipa.so           0x00007f18fbbae732
12 libLLVMipa.so           0x00007f18fbbae0f1
13 libLLVMipa.so           0x00007f18fbbada3d
14 libLLVMCore.so          0x00007f18fbe57d5a
15 libLLVMCore.so          0x00007f18fbe5794e
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 302
16 libLLVMCore.so          0x00007f18fbe58201
llvm::legacy::PassManager::run(llvm::Module&) + 33
17 libclangCodeGen.so      0x00007f18f9916458
18 libclangCodeGen.so      0x00007f18f9915e89
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) + 121
19 libclangCodeGen.so      0x00007f18f9b0acf5
20 libclangParse.so        0x00007f18f8baa9ad clang::ParseAST(clang::Sema&,
bool, bool) + 813
21 libclangFrontend.so     0x00007f18faadd069
clang::ASTFrontendAction::ExecuteAction() + 345
22 libclangCodeGen.so      0x00007f18f9b09307
clang::CodeGenAction::ExecuteAction() + 1479
23 libclangFrontend.so     0x00007f18faadcb8f clang::FrontendAction::Execute()
+ 191
24 libclangFrontend.so     0x00007f18faa9eaad
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 797
25 libclangFrontendTool.so 0x00007f18fa959c58
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1048
26 clang                   0x00000000004123ba cc1_main(char const**, char
const**, char const*, void*) + 698
27 clang                   0x000000000040a8a2 main + 802
28 libc.so.6               0x00007f18f59b6ea5 __libc_start_main + 245
29 clang                   0x000000000040a439
Stack dump:
0.    Program arguments: /home/grosser/Projects/polly/build/bin/clang -cc1
-triple x86_64-pc-linux-gnu -emit-obj -disable-free -main-file-name Main.cpp
-mrelocation-model static -fmath-errno -masm-verbose -mconstructor-aliases
-munwind-tables -fuse-init-array -target-cpu x86-64 -target-linker-version 2.22
-momit-leaf-frame-pointer -D _GNU_SOURCE -D __STDC_LIMIT_MACROS -D NDEBUG -D
BREAK_HANDLER -D UNICODE -D _UNICODE -D _FILE_OFFSET_BITS=64 -D
_LARGEFILE_SOURCE -D NDEBUG -D _REENTRANT -D ENV_UNIX -D _7ZIP_LARGE_PAGES -O3
-fdeprecated-macro -ferror-limit 19 -fmessage-length 0 -pthread -mstackrealign
-fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option
-vectorize-loops -vectorize-slp -x c++ Main-7adc26.cpp 
1.    <eof> parser at end of file
2.    Per-module optimization passes
3.    Running pass 'CallGraph Pass Manager' on module 'Main-7adc26.cpp'.
4.    Running pass 'SROA' on function '@_Z5Main2iPPKc'

-- 
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/20140225/877d10fb/attachment.html>


More information about the llvm-bugs mailing list