When the testcases were regenerated due to PR libstdc++/PR66689,
-ffp-contract=off was omitted from (at least) the hyperg
check_value.cc testcases, causing runtime regression.  This patch
restores the dg-options directive.

This returns the libstdc++ testsuite to all passing on AIX.

Bootstrapped on powerpc-ibm-aix7.2.0.0

Okay?

Thanks, David

        PR libstdc++/83120
        * testsuite/ext/special_functions/hyperg/check_value.cc: Add
        -ffp-contract=off.
        * 
testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/check_value.cc:
Same.

Index: testsuite/ext/special_functions/hyperg/check_value.cc
===================================================================
--- testsuite/ext/special_functions/hyperg/check_value.cc
(revision 255468)
+++ testsuite/ext/special_functions/hyperg/check_value.cc       (working copy)
@@ -1,5 +1,5 @@
 // { dg-do run { target c++11 } }
-// { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" }
+// { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__ -ffp-contract=off" }
 //
 // Copyright (C) 2016-2017 Free Software Foundation, Inc.
 //
Index: 
testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/check_value.cc
===================================================================
--- 
testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/check_value.cc
    (revision 255468)
+++ 
testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/check_value.cc
    (working copy)
@@ -1,5 +1,5 @@
 // { dg-do run { target c++11 } }
-// { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" }
+// { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__ -ffp-contract=off" }
 //
 // Copyright (C) 2016-2017 Free Software Foundation, Inc.
 //

Reply via email to