[Bug c/29186] optimzation breaks floating point exception flag reading

kreckel at ginac dot de gcc-bugzilla@gcc.gnu.org
Fri Sep 22 22:34:00 GMT 2006



------- Comment #4 from kreckel at ginac dot de  2006-09-22 22:34 -------
(In reply to comment #1)
> This is not really a bug in C99 unless you use:
> #pragma STDC FENV_ACCESS on
> 
> But then again we don't implement that pramgma yet ....

Okay, I was not aware of that pragma. Thank you for pointing it out. But what I
find hard to grasp is why it works with previous releases. We have this library
call fetestexcept(3) and with gcc 4.1 it basically stopped working. I would say
this even qualifies as a regression, right?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29186



More information about the Gcc-bugs mailing list