<html>
<head>
<base href="http://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 --- - clang 3.6: sparc-linux floating point options do not work"
href="http://llvm.org/bugs/show_bug.cgi?id=22489">22489</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>clang 3.6: sparc-linux floating point options do not work
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.6
</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>Driver
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>markus@oberhumer.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>The file clang/test/Driver/sparc-float.c tests 6 combinations of sparc-linux
floating point options.
These options do not work when using them for compilation, though:
$ echo 'int x = 1;' > test.c
$ clang-3.6.0rc2 -target sparc-linux-gnu -c test.c
clang: warning: unknown platform, assuming -mfloat-abi=soft
'+soft-float' is not a recognized feature for this target (ignoring feature)
'+soft-float' is not a recognized feature for this target (ignoring feature)
$ clang-3.6.0rc2 -target sparc-linux-gnu -mhard-float -c test.c
error: unknown argument: '-mhard-float'
$ clang-3.6.0rc2 -target sparc-linux-gnu -msoft-float -c test.c
'+soft-float' is not a recognized feature for this target (ignoring feature)
'+soft-float' is not a recognized feature for this target (ignoring feature)
$ clang-3.6.0rc2 -target sparc64-linux-gnu -c test.c
clang: warning: unknown platform, assuming -mfloat-abi=soft
'+soft-float' is not a recognized feature for this target (ignoring feature)
'+soft-float' is not a recognized feature for this target (ignoring feature)
$ clang-3.6.0rc2 -target sparc64-linux-gnu -mhard-float -c test.c
error: unknown argument: '-mhard-float'
$ clang-3.6.0rc2 -target sparc64-linux-gnu -msoft-float -c test.c
'+soft-float' is not a recognized feature for this target (ignoring feature)
'+soft-float' is not a recognized feature for this target (ignoring feature)</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>