<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/63166>63166</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Clang may still generate wrong code under #pragma STDC FENV_ACCESS ON
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
pmor13
</td>
</tr>
</table>
<pre>
Clang may still generate wrong code under `#pragma STDC FENV_ACCESS ON`.
Example: https://godbolt.org/z/naczdTn8x.
Note: under `#pragma STDC FENV_ACCESS ON` FP operations may raise FP exceptions, which are changes in the state of the execution environment (for implementations that support floating-point state) and contribute to the observable behavior of the program. See the C standard for the details.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUUstunDAU_RqzuQryGMJjwWJKwjKtNFG3lbEv4MrYyL5MJvn6yiRV1S6qdgPysc5LPjJGMzvEjt1_YvcPmdxp8aHbVh9ORTZ6_dr1VroZVvkKkYy1MKPDIAnhJXg3g_IaYXcaA7CKM1FsQc6rhMvzQw_D49PXb-e-f7xc4PMTq3jO-APj5_fv402um0VWnGEh2iIrzkwMTAyz16O3lPswMzG8MTE4qd70s2tuvwk8eTrY_2wPwxfwW4pvvItHqSBNxITjTeF24Ez08LIYtYAMCGqRbsYIxgEtCJFSdz8dB7yh2hMH0F1N8G5FR8BEM_kAJpVLwIcbLZIg7tvmA8FkvSTj5rvNG0fvqky0IJ0G5R0FM-6EQP7w8WPEcJWjRRhxkVfjw88IW_BzkGsOF8QD6JOY0zJoSCkSpJGksTHPdFfotmhlht2paqpTWTWiyJaubnVTl6Uu66Jpm7JsatXwSZVtUY_tfckz0wkuCl7x-lTymp9yPiFXtapbVaGeeMNKjqs0Nrf2uqaHy0yMO3ZVcaqqzMoRbTxGJoTDFzgumRBpc6FLnLtxnyMruTWR4i8VMmTxfzb4twVke7DdH1MztOxjrvzKxJBcP353W_DfURETw5E1MjEcXX4EAAD__4wFDE8">