<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:spatel+llvm@rotateright.com" title="Sanjay Patel <spatel+llvm@rotateright.com>"> <span class="fn">Sanjay Patel</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - FP exception on optimized code"
href="https://bugs.llvm.org/show_bug.cgi?id=40280">bug 40280</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>spatel+llvm@rotateright.com
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>INVALID
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - FP exception on optimized code"
href="https://bugs.llvm.org/show_bug.cgi?id=40280#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - FP exception on optimized code"
href="https://bugs.llvm.org/show_bug.cgi?id=40280">bug 40280</a>
from <span class="vcard"><a class="email" href="mailto:spatel+llvm@rotateright.com" title="Sanjay Patel <spatel+llvm@rotateright.com>"> <span class="fn">Sanjay Patel</span></a>
</span></b>
<pre>I think the source program encounters undefined behavior because:
<a class="bz_bug_link
bz_status_NEW "
title="NEW - clang/llvm don't support C99 FP rounding mode pragmas (FENV_ACCESS etc)"
href="show_bug.cgi?id=8100#c15">https://bugs.llvm.org/show_bug.cgi?id=8100#c15</a>
Feel free to reopen if you disagree.
This is a long-standing problem for clang as you can see from that bug report
and related/duplicates.
Work is ongoing to support an FP environment that includes exceptions. You can
check status of that on the llvm-dev mailing list.</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>