re PR libfortran/66458 (Loading libgfortran.so changes the FPU exception flags)

PR libfortran/66458
	* runtime/main.c (init): Only call set_fpu() if requested by user.

From-SVN: r226725
This commit is contained in:
Francois-Xavier Coudert 2015-08-07 16:23:53 +00:00 committed by François-Xavier Coudert
parent 8f3f5ac089
commit c2cc83bc88
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2015-08-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR libfortran/66458
* runtime/main.c (init): Only call set_fpu() if requested by user.
2015-08-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
* runtime/compile_options.c (set_options): Fix typos.

View File

@ -263,7 +263,11 @@ init (void)
init_variables ();
init_units ();
set_fpu ();
/* If (and only if) the user asked for it, set up the FPU state. */
if (options.fpe != 0)
set_fpu ();
init_compile_options ();
#ifdef DEBUG