gcc/libgo/go/math
Ian Lance Taylor 28f3c8143b math: adjust compilation flags, use them when testing
We were using special compilation flags for the math package, but we
    weren't using them when testing.  That meant that our tests were not
    checking the real code we were providing.  Fix that.
    
    Fixing that revealed that we were not using a good set of flags, or at
    least were not using flags that let the tests pass.  Adjust the flags
    to stop using -funsafe-math-optimizations on x86.  Instead always use
    -ffp-contract=off -fno-math-errno -fno-trapping-math for all targets.
    
    Fixes golang/go#23647
    
    Reviewed-on: https://go-review.googlesource.com/91355

From-SVN: r257312
2018-02-01 21:05:20 +00:00
..
big libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
bits libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
cmplx libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
rand libgo: update to Go1.10beta2 release 2018-01-17 14:20:29 +00:00
abs.go libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
acosh.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
all_test.go math: adjust compilation flags, use them when testing 2018-02-01 21:05:20 +00:00
arith_s390x.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
arith_s390x_test.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
asin.go
asinh.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
atan.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
atan2.go
atanh.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
bits.go libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
cbrt.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
const.go libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
copysign.go
dim.go libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
erf.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
erfinv.go libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
example_test.go libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
exp.go libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
exp_asm.go libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
expm1.go libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
export_s390x_test.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
export_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
floor.go libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
floor_asm.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
frexp.go
gamma.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
hypot.go
j0.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
j1.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
jn.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
ldexp.go compiler: handle >32bit exponent in Ldexp 2017-08-09 17:15:02 +00:00
lgamma.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
log.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
log1p.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
log10.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
logb.go
mod.go
modf.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
nextafter.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
pow.go libgo: update to Go1.10beta2 release 2018-01-17 14:20:29 +00:00
pow10.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
remainder.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
signbit.go
sin.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
sincos.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
sincos_386.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
sinh.go
sqrt.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
tan.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
tanh.go
unsafe.go