<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - [Thumb] Assertion `LiveCPSR && "CPSR liveness tracking is wrong!"'"
   href="https://llvm.org/bugs/show_bug.cgi?id=28949">28949</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[Thumb] Assertion `LiveCPSR && "CPSR liveness tracking is wrong!"'
          </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>Linux
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Backend: ARM
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>diana.picus@linaro.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This is breaking one of the selfhost buildbots
(clang-cmake-thumbv7-a15-full-sh). I'm currently bisecting the range
278238-278300. 

FAILED:
/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/stage1.install/bin/clang++
  -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER
-DCLANG_ENABLE_STATIC_ANALYZER -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GNU_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Itools/clang/lib/Analysis
-I/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/llvm/tools/clang/lib/Analysis
-I/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/llvm/tools/clang/include
-Itools/clang/include -Iinclude
-I/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/llvm/include
-mcpu=cortex-a15 -mthumb -fPIC -fvisibility-inlines-hidden -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers
-pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor
-Wdelete-non-virtual-dtor -Werror=date-time -std=c++11 -fcolor-diagnostics
-ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual
-Wno-nested-anon-types -O3    -UNDEBUG  -fno-exceptions -fno-rtti -MMD -MT
tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/CFG.cpp.o -MF
tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/CFG.cpp.o.d -o
tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/CFG.cpp.o -c
/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/llvm/tools/clang/lib/Analysis/CFG.cpp
clang-4.0:
/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/llvm/lib/Target/ARM/Thumb2SizeReduction.cpp:945:
bool UpdateCPSRUse(llvm::MachineInstr&, bool): Assertion `LiveCPSR && "CPSR
liveness tracking is wrong!"' failed.
Stack dump:
0.    Program arguments:
/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/stage1.install/bin/clang-4.0
-cc1 -triple thumbv7-unknown-linux-gnueabihf -emit-obj -disable-free
-main-file-name CFG.cpp -mrelocation-model pic -pic-level 2 -mthread-model
posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases
-fuse-init-array -target-cpu cortex-a15 -target-abi aapcs-linux -mfloat-abi
hard -dwarf-column-info -debugger-tuning=gdb -ffunction-sections
-fdata-sections -coverage-file
/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/stage2/tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/CFG.cpp.o
-resource-dir
/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/stage1.install/bin/../lib/clang/4.0.0
-dependency-file
tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/CFG.cpp.o.d -MT
tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/CFG.cpp.o -D
CLANG_ENABLE_ARCMT -D CLANG_ENABLE_OBJC_REWRITER -D
CLANG_ENABLE_STATIC_ANALYZER -D GTEST_HAS_RTTI=0 -D _DEBUG -D _GNU_SOURCE -D
__STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -I
tools/clang/lib/Analysis -I
/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/llvm/tools/clang/lib/Analysis
-I
/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/llvm/tools/clang/include
-I tools/clang/include -I include -I
/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/llvm/include -U
NDEBUG -internal-isystem
/usr/lib/gcc/arm-linux-gnueabihf/4.8/../../../../include/c++/4.8
-internal-isystem
/usr/lib/gcc/arm-linux-gnueabihf/4.8/../../../../include/arm-linux-gnueabihf/c++/4.8
-internal-isystem
/usr/lib/gcc/arm-linux-gnueabihf/4.8/../../../../include/arm-linux-gnueabihf/c++/4.8
-internal-isystem
/usr/lib/gcc/arm-linux-gnueabihf/4.8/../../../../include/c++/4.8/backward
-internal-isystem /usr/local/include -internal-isystem
/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/stage1.install/bin/../lib/clang/4.0.0/include
-internal-externc-isystem /usr/include/arm-linux-gnueabihf
-internal-externc-isystem /include -internal-externc-isystem /usr/include -O3
-Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wmissing-field-initializers -Wno-long-long -Wcovered-switch-default
-Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Werror=date-time
-Woverloaded-virtual -Wno-nested-anon-types -pedantic -std=c++11
-fdeprecated-macro -fdebug-compilation-dir
/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/stage2
-ferror-limit 19 -fmessage-length 0 -fvisibility-inlines-hidden
-fallow-half-arguments-and-returns -fno-rtti -fno-signed-char
-fobjc-runtime=gcc -fno-common -fdiagnostics-show-option -fcolor-diagnostics
-vectorize-loops -vectorize-slp -o
tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/CFG.cpp.o -x c++
/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/llvm/tools/clang/lib/Analysis/CFG.cpp 
1.    <eof> parser at end of file
2.    Code generation
3.    Running pass 'Function Pass Manager' on module
'/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/llvm/tools/clang/lib/Analysis/CFG.cpp'.
4.    Running pass 'Thumb2 instruction size reduction pass' on function
'@_ZN12_GLOBAL__N_110CFGBuilder33evaluateAsBooleanConditionNoCacheEPN5clang4ExprE'
clang-4.0: error: unable to execute command: Aborted (core dumped)
clang-4.0: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 4.0.0 (trunk 278300)
Target: armv7l-unknown-linux-gnueabihf
Thread model: posix
InstalledDir:
/home/linaro/devel/buildbot/clang-cmake-thumbv7-a15-full-sh/stage1.install/bin
clang-4.0: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang-4.0: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-4.0: note: diagnostic msg: /tmp/CFG-8b5afd.cpp
clang-4.0: note: diagnostic msg: /tmp/CFG-8b5afd.sh
clang-4.0: note: diagnostic msg:</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>