summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2016-01-27 15:09:38 +0000
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2016-01-27 15:09:38 +0000
commit3adace298a0c443858ba1860ba25b4c6865e1655 (patch)
tree9bcb2e9c85991038666abfe8589408de38af2f6b
parentc88301adefa9a0db1b48ecae8996c3bfd0fe5527 (diff)
downloadgcc-3adace298a0c443858ba1860ba25b4c6865e1655.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232879 138bc75d-0d04-0410-961f-82ee72b054a4
-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 4ac1e7ff510..7a2ab43822e 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 218c07a16fc..d87fcef03ee 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 a51420726b1..0c60ac64a1b 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