<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:Florian.Hahn@arm.com" title="Florian Hahn <Florian.Hahn@arm.com>"> <span class="fn">Florian Hahn</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - clang Fast Register Allocator crashes"
href="https://llvm.org/bugs/show_bug.cgi?id=20171">bug 20171</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>Florian.Hahn@arm.com
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WORKSFORME
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - clang Fast Register Allocator crashes"
href="https://llvm.org/bugs/show_bug.cgi?id=20171#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - clang Fast Register Allocator crashes"
href="https://llvm.org/bugs/show_bug.cgi?id=20171">bug 20171</a>
from <span class="vcard"><a class="email" href="mailto:Florian.Hahn@arm.com" title="Florian Hahn <Florian.Hahn@arm.com>"> <span class="fn">Florian Hahn</span></a>
</span></b>
<pre>Could not reproduce the segfault with a recent clang build (clang version 4.0.0
(<a href="https://github.com/llvm-mirror/clang.git">https://github.com/llvm-mirror/clang.git</a>
7f60b40f08d9c4f13f9b5a7cbbd98468d3345100)
(<a href="https://github.com/llvm-mirror/llvm.git">https://github.com/llvm-mirror/llvm.git</a>
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</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>