Commit eaa9c6bd by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

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
parent 9976dec8
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment