<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - crash mixing funny x86 sse flags"
href="https://bugs.llvm.org/show_bug.cgi?id=40451">40451</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>crash mixing funny x86 sse flags
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</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>enhancement
</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>ndesaulniers@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>Reproducer
// clang -c -O2 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -m64 -msse float.c
double div (double a, double b) {
return b / a;
}
float.c:1:8: error: SSE2 register return with SSE2 disabled
double div (double a, double b) {
...
3. Running pass 'Function Pass Manager' on module 'float.c'.
4. Running pass 'X86 FP Stackifier' on function '@div'
...
/android0/llvm-project/llvm/build/bin/clang-9(llvm::MachineFunctionPass::runOnFunction(llvm::Function&)+0x217)[0x2cfd127]
/android0/llvm-project/llvm/build/bin/clang-9(llvm::FPPassManager::runOnFunction(llvm::Function&)+0x1f4)[0x31e8804]</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>