Commit 9b548472 by Ian Lance Taylor Committed by Ian Lance Taylor

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
parent 5e46b0c6
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> 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gospec.c (lang_specific_driver) [HAVE_LD_STATIC_DYNAMIC] Use * gospec.c (lang_specific_driver) [HAVE_LD_STATIC_DYNAMIC] Use
......
...@@ -149,9 +149,7 @@ go_langhook_init_options_struct (struct gcc_options *opts) ...@@ -149,9 +149,7 @@ go_langhook_init_options_struct (struct gcc_options *opts)
/* The builtin math functions should not set errno. */ /* The builtin math functions should not set errno. */
opts->x_flag_errno_math = 0; opts->x_flag_errno_math = 0;
opts->frontend_set_flag_errno_math = true;
/* By default assume that floating point math does not trap. */
opts->x_flag_trapping_math = 0;
/* We turn on stack splitting if we can. */ /* We turn on stack splitting if we can. */
if (targetm.supports_split_stack (false, opts)) if (targetm.supports_split_stack (false, opts))
......
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