<div dir="ltr"><div>Hello,</div><div>In yesterday's weekly meeting I mentioned about fenv problems I faced while</div><div>developing testsuite.</div><div>.</div><div>Here is a very raw patch of my code as testsuite is still in development.</div><div>.</div><div>==================================================</div><div>Error 1</div><div>==================================================</div><div>I took three float values:</div><div>a = 0.0</div><div>b = 1.0</div><div>c = b/a</div><div>This should have automatically raised FE_DIVBYZERO exception, which does</div><div>not happens.</div><div>No exception flag is set.<br></div><div>.</div><div>.</div><div>==================================================</div><div>Error 2</div><div>==================================================</div><div>Then I tried to raise an exception manually using feraiseexcept(), but this</div><div>operation was also unsuccessful .</div><div>The method returned 1 on execution, but it should return 0 on successful operation.</div><div>.</div><div>.</div><div>==================================================</div><div>Warning</div><div>==================================================</div><div>As mentioned in opengroup I tried to define a pragma</div><div><a href="https://pubs.opengroup.org/onlinepubs/009696799/basedefs/fenv.h.html">https://pubs.opengroup.org/onlinepubs/009696799/basedefs/fenv.h.html</a></div><div>.<br></div><div>#pragma STDC FENV_ACCESS ON</div><div>.</div><div>But this pragma is ignored while 'make -j 2'</div><div>/home/varodek/development/rtems/kernel/rtems/c/src/../../testsuites/psxtests/psxfenv01/init.c:50: warning: ignoring #pragma STDC FENV_ACCESS [-Wunknown-pragmas]</div><div><pre class="gmail-de1">.<br>.<br></pre><div>--Vaibhav Gupta<br></div></div></div>