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
bits
cmplx
rand
abs.go
acosh.go
all_test.go
arith_s390x_test.go
arith_s390x.go
asin.go
asinh.go
atan2.go
atan.go
atanh.go
bits.go
cbrt.go
const.go
copysign.go
dim.go
erf.go
erfinv.go
example_test.go
exp_asm.go
exp.go
expm1.go
export_s390x_test.go
export_test.go
floor_asm.go
floor.go
frexp.go
gamma.go
hypot.go
j0.go
j1.go
jn.go
ldexp.go
lgamma.go
log1p.go
log10.go
log.go
logb.go
mod.go
modf.go
nextafter.go
pow10.go
pow.go
remainder.go
signbit.go
sin.go
sincos_386.go
sincos.go
sinh.go
sqrt.go
tan.go
tanh.go
unsafe.go