fpu-glibc.h (set_fpu): Only call fedisableexcept for nonzero FE_ALL_EXCEPT.
* config/fpu-glibc.h (set_fpu): Only call fedisableexcept for nonzero FE_ALL_EXCEPT. From-SVN: r107145
This commit is contained in:
parent
9976dec829
commit
eaa9c6bdb4
@ -1,3 +1,8 @@
|
||||
2005-11-18 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* config/fpu-glibc.h (set_fpu): Only call fedisableexcept for
|
||||
nonzero FE_ALL_EXCEPT.
|
||||
|
||||
2005-11-17 Francois-Xavier Coudert <coudert@clipper.ens.fr>
|
||||
|
||||
PR fortran/24892
|
||||
|
@ -39,7 +39,8 @@ Boston, MA 02110-1301, USA. */
|
||||
|
||||
void set_fpu (void)
|
||||
{
|
||||
fedisableexcept (FE_ALL_EXCEPT);
|
||||
if (FE_ALL_EXCEPT != 0)
|
||||
fedisableexcept (FE_ALL_EXCEPT);
|
||||
|
||||
if (options.fpe & GFC_FPE_INVALID)
|
||||
#ifdef FE_INVALID
|
||||
|
Loading…
Reference in New Issue
Block a user