go-lang.c (go_langhook_init_options_struct): Set frontend_set_flag_errno_math.

* go-lang.c (go_langhook_init_options_struct): Set
	frontend_set_flag_errno_math.  Don't set x_flag_trapping_math.

From-SVN: r169931
This commit is contained in:
Ian Lance Taylor 2011-02-08 17:53:17 +00:00 committed by Ian Lance Taylor
parent 5e46b0c65b
commit 9b5484722f
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2011-02-08 Ian Lance Taylor <iant@google.com>
* go-lang.c (go_langhook_init_options_struct): Set
frontend_set_flag_errno_math. Don't set x_flag_trapping_math.
2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gospec.c (lang_specific_driver) [HAVE_LD_STATIC_DYNAMIC] Use

View File

@ -149,9 +149,7 @@ go_langhook_init_options_struct (struct gcc_options *opts)
/* The builtin math functions should not set errno. */
opts->x_flag_errno_math = 0;
/* By default assume that floating point math does not trap. */
opts->x_flag_trapping_math = 0;
opts->frontend_set_flag_errno_math = true;
/* We turn on stack splitting if we can. */
if (targetm.supports_split_stack (false, opts))