[llvm-bugs] [Bug 20171] clang Fast Register Allocator crashes

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Dec 18 14:40:41 PST 2016


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

Florian Hahn <Florian.Hahn at arm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |Florian.Hahn at arm.com
         Resolution|---                         |WORKSFORME

--- Comment #1 from Florian Hahn <Florian.Hahn at arm.com> ---
Could not reproduce the segfault with a recent clang build (clang version 4.0.0
(https://github.com/llvm-mirror/clang.git
7f60b40f08d9c4f13f9b5a7cbbd98468d3345100)
(https://github.com/llvm-mirror/llvm.git
bd807b784e82c1f26339d45f9bf64847f42575e4))

I'll close this issue, but please re-open it if you can reproduce it with a
recent clang version.


I've used the following options (note -gdwarf-2 is not supported any longer,
I've used `-debug-info-kind=standalone -mllvm -regalloc=fast` to make sure the
fast register allocator is used) :

clang -cc1 -triple arm64-apple-ios7.0.0 -Wdeprecated-objc-isa-usage
-Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration
-emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name
board.c -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose
-target-abi darwinpcs -target-cpu cyclone -target-linker-version 236.3 -D
"DEBUG=1" -D "SEXP_USE_DL=0" -D "SEXP_USE_STATIC_LIBS" -D "SEXP_64_BIT" -O0
-Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes
-Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function
-Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value
-Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow
-Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion
-Wno-bool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign
-Wno-newline-eof -Wdeprecated-declarations -Wno-sign-conversion -std=gnu99
-ferror-limit 19 -fmacro-backtrace-limit 0 -fmessage-length 0 -stack-protector
1 -mstackrealign -fblocks -fobjc-runtime=ios-7.0.0
-fencode-extended-block-signature -fpascal-strings -fdiagnostics-show-option
-fdiagnostics-show-note-include-stack -vectorize-slp
-debug-info-kind=standalone -mllvm -regalloc=fast  -x c bug.c

-- 
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/20161218/e9726b5c/attachment.html>


More information about the llvm-bugs mailing list