From: David Edelsohn Date: Thu, 7 Dec 2017 20:05:59 +0000 (+0000) Subject: re PR libstdc++/83120 (ext/special_functions/hyperg failure on AIX) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d3861707ebebb3c4dc6965582cb7ff696f9b6b73;p=gcc.git re PR libstdc++/83120 (ext/special_functions/hyperg failure on AIX) PR libstdc++/83120 * testsuite/ext/special_functions/hyperg/check_value.cc: Add -ffp-contract=off. Add -ffloat-store for m68* and ia32. * testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/check_value.cc: Same. From-SVN: r255483 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index f4a04fac43f..3043c253565 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2017-12-07 David Edelsohn + + PR libstdc++/83120 + * testsuite/ext/special_functions/hyperg/check_value.cc: Add + -ffp-contract=off. Add -ffloat-store for m68* and ia32. + * testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/check_value.cc: Same. + 2017-12-07 Martin Sebor PR c/81544 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 1cede80c4b4..96cebde4e92 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-do run { target c++11 } } -// { 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-2017 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/check_value.cc b/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/check_value.cc index 558db8dc259..2fc41f73486 100644 --- a/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/check_value.cc +++ b/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/check_value.cc @@ -1,5 +1,6 @@ // { 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" } +// { dg-additional-options "-ffloat-store" { target { m68*-*-* || ia32 } } } // // Copyright (C) 2016-2017 Free Software Foundation, Inc. //