[llvm-bugs] [Bug 36708] New: crash in IndVarSimplify::run

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Mar 13 13:03:44 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=36708

            Bug ID: 36708
           Summary: crash in IndVarSimplify::run
           Product: new-bugs
           Version: 6.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: dcb314 at hotmail.com
                CC: llvm-bugs at lists.llvm.org

The attached C code, with clang flag -O2, does this:

$ ~/llvm/release.600/bin/clang -c -O2 /tmp/option-7bae52.c
#0 0x0000000001b993c4 PrintStackTraceSignalHandler(void*)
(/home/dcb/llvm/release.600/bin/clang-6.0+0x1b993c4)
#1 0x0000000001b996a6 SignalHandler(int)
(/home/dcb/llvm/release.600/bin/clang-6.0+0x1b996a6)
#2 0x00007fd15158aaf0 __restore_rt (/lib64/libpthread.so.0+0x12af0)
#3 0x00000000019f3c80 (anonymous namespace)::IndVarSimplify::run(llvm::Loop*)
(/home/dcb/llvm/release.600/bin/clang-6.0+0x19f3c80)
#4 0x00000000019fad53 (anonymous
namespace)::IndVarSimplifyLegacyPass::runOnLoop(llvm::Loop*,
llvm::LPPassManager&) (/home/dcb/llvm/release.600/bin/clang-6.0+0x19fad53)
#5 0x000000000136a668 llvm::LPPassManager::runOnFunction(llvm::Function&)
(/home/dcb/llvm/release.600/bin/clang-6.0+0x136a668)
#6 0x000000000175f1fb llvm::FPPassManager::runOnFunction(llvm::Function&)
(/home/dcb/llvm/release.600/bin/clang-6.0+0x175f1fb)

-- 
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/20180313/51caea31/attachment.html>


More information about the llvm-bugs mailing list