Message ID | mcrhbces99s.fsf@google.com |
---|---|
State | New |
Headers | show |
Index: go/go-lang.c =================================================================== --- go/go-lang.c (revision 169848) +++ go/go-lang.c (working copy) @@ -149,9 +149,7 @@ go_langhook_init_options_struct (struct /* 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))