https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101063
--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> --- > Note 1: Under -Wall gcc generates warning: > <source>:5: warning: ignoring '#pragma STDC FENV_ACCESS' [-Wunknown-pragmas] That seems like a huge hint, this is not implemented in gcc. You can find several existing PR in this bugzilla. There is a branch refs/users/glisse/heads/fenv that was kind of functional last time I tried, but I'll never have time to polish it.