[llvm-bugs] [Bug 28949] New: [Thumb] Assertion `LiveCPSR && "CPSR liveness tracking is wrong!"'
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Aug 12 03:48:19 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=28949
Bug ID: 28949
Summary: [Thumb] Assertion `LiveCPSR && "CPSR liveness tracking
is wrong!"'
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: ARM
Assignee: unassignedbugs at nondot.org
Reporter: diana.picus at linaro.org
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
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
http://llvm.org/bugs/ 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:
--
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/20160812/050a666b/attachment.html>
More information about the llvm-bugs
mailing list