<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Regression since "Fix a bug w/inbounds invalidation in LFTR""
   href="https://bugs.llvm.org/show_bug.cgi?id=42279">42279</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Regression since "Fix a bug w/inbounds invalidation in LFTR"
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Scalar Optimizations
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>martin@martin.st
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>listmail@philipreames.com, llvm-bugs@lists.llvm.org, nikita.ppv@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=22099" name="attach_22099" title="Crash reproduction sample">attachment 22099</a> <a href="attachment.cgi?id=22099&action=edit" title="Crash reproduction sample">[details]</a></span>
Crash reproduction sample

Since SVN r363289, "Fix a bug w/inbounds invalidation in LFTR", compilation
fails on one source file:

$ ./bin/clang++ -target x86_64-w64-mingw32 -c -O3 ebml-preproc.cpp 
[...]
Stack dump:
0.      Program arguments: /home/martin/code/llvm-bisect/build/bin/clang-9 -cc1
-triple x86_64-w64-windows-gnu -emit-obj -disable-free -main-file-name
ebml-preproc.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix
-fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu
x86-64 -dwarf-column-info -debugger-tuning=gdb -momit-leaf-frame-pointer
-coverage-notes-file /home/martin/code/llvm-bisect/build/ebml-preproc.gcno
-resource-dir /home/martin/code/llvm-bisect/build/lib/clang/9.0.0
-internal-isystem /usr/x86_64-w64-mingw32/include/c++ -internal-isystem
/usr/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32 -internal-isystem
/usr/x86_64-w64-mingw32/include/c++/backward -internal-isystem
/usr/x86_64-w64-mingw32/include/c++/7.3-win32 -internal-isystem
/usr/x86_64-w64-mingw32/include/c++/7.3-win32/x86_64-w64-mingw32
-internal-isystem /usr/x86_64-w64-mingw32/include/c++/7.3-win32/backward
-internal-isystem /usr/include/c++/7.3-win32 -internal-isystem
/usr/include/c++/7.3-win32/x86_64-w64-mingw32 -internal-isystem
/usr/include/c++/7.3-win32/backward -internal-isystem
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/c++ -internal-isystem
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/c++/x86_64-w64-mingw32
-internal-isystem
/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/include/c++/backward
-internal-isystem /home/martin/code/llvm-bisect/build/lib/clang/9.0.0/include
-internal-isystem /usr/x86_64-w64-mingw32/sys-root/mingw/include
-internal-isystem /usr/x86_64-w64-mingw32/include -internal-isystem
/usr/include -O3 -fdeprecated-macro -fdebug-compilation-dir
/home/martin/code/llvm-bisect/build -ferror-limit 19 -fmessage-length 0
-fno-use-cxa-atexit -fobjc-runtime=gcc -fcxx-exceptions -fexceptions
-fseh-exceptions -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops
-vectorize-slp -faddrsig -o ebml-preproc.o -x c++ ebml-preproc.cpp  
1.      <eof> parser at end of file 
2.      Per-module optimization passes 
3.      Running pass 'CallGraph Pass Manager' on module 'ebml-preproc.cpp'. 
4.      Running pass 'Loop Pass Manager' on function
'@_ZN7libebml18SafeReadIOCallback11GetUInt16BEEv' 
5.      Running pass 'Induction Variable Simplification' on basic block
'%for.body.i' 
 #0 0x0000559941450a4a llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/home/martin/code/llvm-bisect/build/bin/clang-9+0x1ed5a4a) 
 #1 0x000055994144e6f4 llvm::sys::RunSignalHandlers()
(/home/martin/code/llvm-bisect/build/bin/clang-9+0x1ed36f4)
 #2 0x000055994144e832 SignalHandler(int)
(/home/martin/code/llvm-bisect/build/bin/clang-9+0x1ed3832)
 #3 0x00007f36195d1890 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x12890)
 #4 0x000055994124fc5e (anonymous
namespace)::IndVarSimplify::linearFunctionTestReplace(llvm::Loop*,
llvm::BasicBlock*, llvm::SCEV const*, llvm::PHINode*, llvm::SCEVExpander&)
(/home/martin/code/llvm-bisect/build/bin/clang-9+0x1cd4c5e)
 #5 0x0000559941259cff (anonymous namespace)::IndVarSimplify::run(llvm::Loop*)
(.part.484) (/home/martin/code/llvm-bisect/build/bin/clang-9+0x1cdecff)
 #6 0x000055994125ad34 (anonymous
namespace)::IndVarSimplifyLegacyPass::runOnLoop(llvm::Loop*,
llvm::LPPassManager&) (.part.485)
(/home/martin/code/llvm-bisect/build/bin/clang-9+0x1cdfd34)
 #7 0x00005599408c439b llvm::LPPassManager::runOnFunction(llvm::Function&)
(/home/martin/code/llvm-bisect/build/bin/clang-9+0x134939b)
 #8 0x0000559940f09d69 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/home/martin/code/llvm-bisect/build/bin/clang-9+0x198ed69)
 #9 0x0000559942320853 (anonymous
namespace)::CGPassManager::runOnModule(llvm::Module&)
(/home/martin/code/llvm-bisect/build/bin/clang-9+0x2da5853)
#10 0x0000559940f08fc1 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/home/martin/code/llvm-bisect/build/bin/clang-9+0x198dfc1) 
#11 0x000055994165c6b0 clang::EmitBackendOutput(clang::DiagnosticsEngine&,
clang::HeaderSearchOptions const&, clang::CodeGenOptions const&,
clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout
const&, llvm::Module*, clang::BackendAction,
std::unique_ptr<llvm::raw_pwrite_stream,
std::default_delete<llvm::raw_pwrite_stream> >)
(/home/martin/code/llvm-bisect/build/bin/clang-9+0x20e16b0)
#12 0x0000559942081498
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&)
(/home/martin/code/llvm-bisect/build/bin/clang-9+0x2b06498)
#13 0x00005599429d90e9 clang::ParseAST(clang::Sema&, bool, bool)
(/home/martin/code/llvm-bisect/build/bin/clang-9+0x345e0e9)
#14 0x0000559942080278 clang::CodeGenAction::ExecuteAction()
(/home/martin/code/llvm-bisect/build/bin/clang-9+0x2b05278)
#15 0x0000559941b110ee clang::FrontendAction::Execute()
(/home/martin/code/llvm-bisect/build/bin/clang-9+0x25960ee)
#16 0x0000559941ad2e76
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/home/martin/code/llvm-bisect/build/bin/clang-9+0x2557e76)
#17 0x0000559941bb7d86
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/home/martin/code/llvm-bisect/build/bin/clang-9+0x263cd86) 
#18 0x00005599401aa5b8 cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (/home/martin/code/llvm-bisect/build/bin/clang-9+0xc2f5b8)
#19 0x000055994013faa1 main
(/home/martin/code/llvm-bisect/build/bin/clang-9+0xbc4aa1)
#20 0x00007f3618265b97 __libc_start_main
/build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:344:0
#21 0x00005599401a637a _start
(/home/martin/code/llvm-bisect/build/bin/clang-9+0xc2b37a)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>