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: [gfortran,patch] -ffpe-trap library support for SysV


> Not OK for FreeBSD.  I need to look into the details,
> but fpsetmask has been deprecated in FreeBSD and new
> code is suppose to use the fenv(3) facilities.  Off
> hand, I do not remember the version of FreeBSD when
> the change was made.

Well, this is not hardcoded as the solution for FreeBSD. The configury
just checks for fpsetmask, and if it's there, uses it. So I guess that
should not be a problem.

As for fenv (it's already been discussed here), there's no C99 way to
raise FPE on individually selected exceptions.

FX


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