Commit 20bebd4c by Doug Rupp Committed by Arnaud Charlet

misc.c (gnat_init_gcc_fp(): Set flag_errno_math to 0.

2014-07-31  Doug Rupp  <rupp@adacore.com>
                                        
	* gcc-interface/misc.c (gnat_init_gcc_fp(): Set flag_errno_math to 0.

From-SVN: r213355
parent 384e3fb1
2014-07-31 Doug Rupp <rupp@adacore.com>
* gcc-interface/misc.c (gnat_init_gcc_fp(): Set flag_errno_math to 0.
2014-07-31 Hristian Kirtchev <kirtchev@adacore.com>
* sem_util.adb (Is_Effectively_Volatile): New routine.
......
......@@ -414,6 +414,11 @@ gnat_init_gcc_fp (void)
flag_trapping_math = 1;
else if (!global_options_set.x_flag_trapping_math)
flag_trapping_math = 0;
/* We don't care in Ada about errno, and it causes __builtin_sqrt to
to call the libm function rather than do it inline. */
if (!global_options_set.x_flag_errno_math)
flag_errno_math = 0;
}
/* Print language-specific items in declaration NODE. */
......
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