aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2016-01-27 15:09:38 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2016-01-27 15:09:38 +0000
commitbae87f7fddd71edf7c353b7b5e4dde27df482503 (patch)
tree9bcb2e9c85991038666abfe8589408de38af2f6b
parent167c7bfa499967104ff514075c581a58d4ac240b (diff)
downloadgcc-bae87f7fddd71edf7c353b7b5e4dde27df482503.zip
gcc-bae87f7fddd71edf7c353b7b5e4dde27df482503.tar.gz
gcc-bae87f7fddd71edf7c353b7b5e4dde27df482503.tar.bz2
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
-rw-r--r--libstdc++-v3/ChangeLog8
-rw-r--r--libstdc++-v3/testsuite/ext/special_functions/hyperg/check_value.cc5
-rw-r--r--libstdc++-v3/testsuite/special_functions/02_assoc_legendre/check_value.cc4
3 files changed, 13 insertions, 4 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 4ac1e7f..7a2ab43 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,11 @@
+2016-01-27 Jonathan Wakely <jwakely@redhat.com>
+
+ 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 <jwakely@redhat.com>
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 218c07a..d87fcef 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 a514207..0c60ac6 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