From: Jonathan Wakely Date: Wed, 27 Jan 2016 15:09:38 +0000 (+0000) Subject: Set FP options for failing special functions tests X-Git-Tag: basepoints/gcc-7~1288 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bae87f7fddd71edf7c353b7b5e4dde27df482503;p=thirdparty%2Fgcc.git Set FP options for failing special functions tests PR libstdc++/69295 * testsuite/ext/special_functions/hyperg/check_value.cc: Use -ffp-contract=off, and -ffloat-store to disable excess precision. * testsuite/special_functions/02_assoc_legendre/check_value.cc: Use -ffp-contract=off. From-SVN: r232879 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4ac1e7ff5103..7a2ab43822e1 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,11 @@ +2016-01-27 Jonathan Wakely + + PR libstdc++/69295 + * testsuite/ext/special_functions/hyperg/check_value.cc: Use + -ffp-contract=off, and -ffloat-store to disable excess precision. + * testsuite/special_functions/02_assoc_legendre/check_value.cc: Use + -ffp-contract=off. + 2016-01-26 Jonathan Wakely PR libstdc++/69478 diff --git a/libstdc++-v3/testsuite/ext/special_functions/hyperg/check_value.cc b/libstdc++-v3/testsuite/ext/special_functions/hyperg/check_value.cc index 218c07a16fc2..d87fcef03eef 100644 --- a/libstdc++-v3/testsuite/ext/special_functions/hyperg/check_value.cc +++ b/libstdc++-v3/testsuite/ext/special_functions/hyperg/check_value.cc @@ -1,5 +1,6 @@ -// { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } -// +// { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__ -ffp-contract=off" } +// { dg-additional-options "-ffloat-store" { target { m68*-*-* || ia32 } } } + // Copyright (C) 2016 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free diff --git a/libstdc++-v3/testsuite/special_functions/02_assoc_legendre/check_value.cc b/libstdc++-v3/testsuite/special_functions/02_assoc_legendre/check_value.cc index a51420726b14..0c60ac64a1bb 100644 --- a/libstdc++-v3/testsuite/special_functions/02_assoc_legendre/check_value.cc +++ b/libstdc++-v3/testsuite/special_functions/02_assoc_legendre/check_value.cc @@ -1,5 +1,5 @@ -// { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } -// +// { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__ -ffp-contract=off" } + // Copyright (C) 2016 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free