This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [fortran, patch] Add Fortran 2003 IEEE intrinsic modules


On Nov 21 2013, Joseph S. Myers wrote:
On Thu, 21 Nov 2013, FX wrote:

Indeed, 387/SSE has flush-to-zero modes. But other APIs do not (glibc, SysV, AIX).

Note that glibc libm functions may not work when called in a flush-to-zero mode, only in modes that can be established by the <fenv.h> functions.

Well, that's two clear bugs :-(

If, as you say, they may not work at all in combination with -ffast-math,
that's one.

Setting __STDC_IEC_559__ to 1 in combination with -ffast-math is another,
given that C99 and C11 reference ISO/IEC 10559 (1989).


Regards,
Nick Maclaren.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]