From: Andreas Tobler Date: Mon, 30 Sep 2019 20:23:02 +0000 (+0200) Subject: libstdc++ testsuite, silence a FreeBSD libm warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce3ecab493a8a15ba45de125d7183483f1be0ccf;p=gcc.git libstdc++ testsuite, silence a FreeBSD libm warning 2019-09-30 Andreas Tobler * testsuite/ext/special_functions/airy_ai/check_nan.cc: Ignore the FreeBSD warning about lower advertised precision of tgammal. * testsuite/ext/special_functions/airy_bi/check_nan.cc: Likewise. * testsuite/special_functions/07_cyl_bessel_i/check_nan.cc: Likewise. * testsuite/special_functions/08_cyl_bessel_j/check_nan.cc: Likewise. * testsuite/special_functions/09_cyl_bessel_k/check_nan.cc: Likewise. * testsuite/special_functions/10_cyl_neumann/check_nan.cc: Likewise. * testsuite/special_functions/19_sph_bessel/check_nan.cc: Likewise. * testsuite/special_functions/21_sph_neumann/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 08_cyl_bessel_i/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 09_cyl_bessel_j/check_nan.cc: Likewise. * testuite/tr1/5_numerical_facilities/special_functions/ 10_cyl_bessel_k/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 11_cyl_neumann/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 21_sph_bessel/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 23_sph_neumann/check_nan.cc: Likewise. From-SVN: r276372 --- diff --git a/libstdc++-v3/testsuite/ext/special_functions/airy_ai/check_nan.cc b/libstdc++-v3/testsuite/ext/special_functions/airy_ai/check_nan.cc index f6780526bd4..829ad5a5ef1 100644 --- a/libstdc++-v3/testsuite/ext/special_functions/airy_ai/check_nan.cc +++ b/libstdc++-v3/testsuite/ext/special_functions/airy_ai/check_nan.cc @@ -3,6 +3,7 @@ // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // { dg-add-options ieee } // { dg-skip-if "no extensions in strict dialects" { *-*-* } { "-std=c++*" } } +// { dg-prune-output ".*warning: tgammal has lower than advertised precision" } // Copyright (C) 2016-2019 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/ext/special_functions/airy_bi/check_nan.cc b/libstdc++-v3/testsuite/ext/special_functions/airy_bi/check_nan.cc index aa0405f3471..ef6e7c837ed 100644 --- a/libstdc++-v3/testsuite/ext/special_functions/airy_bi/check_nan.cc +++ b/libstdc++-v3/testsuite/ext/special_functions/airy_bi/check_nan.cc @@ -3,6 +3,7 @@ // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // { dg-add-options ieee } // { dg-skip-if "no extensions in strict dialects" { *-*-* } { "-std=c++*" } } +// { dg-prune-output ".*warning: tgammal has lower than advertised precision" } // Copyright (C) 2016-2019 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/special_functions/07_cyl_bessel_i/check_nan.cc b/libstdc++-v3/testsuite/special_functions/07_cyl_bessel_i/check_nan.cc index ecde2469916..c1a6fab1692 100644 --- a/libstdc++-v3/testsuite/special_functions/07_cyl_bessel_i/check_nan.cc +++ b/libstdc++-v3/testsuite/special_functions/07_cyl_bessel_i/check_nan.cc @@ -2,6 +2,7 @@ // { dg-require-c-std "" } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // { dg-add-options ieee } +// { dg-prune-output ".*warning: tgammal has lower than advertised precision" } // Copyright (C) 2016-2019 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/special_functions/08_cyl_bessel_j/check_nan.cc b/libstdc++-v3/testsuite/special_functions/08_cyl_bessel_j/check_nan.cc index 967d9de7144..a9e02119bd2 100644 --- a/libstdc++-v3/testsuite/special_functions/08_cyl_bessel_j/check_nan.cc +++ b/libstdc++-v3/testsuite/special_functions/08_cyl_bessel_j/check_nan.cc @@ -2,6 +2,7 @@ // { dg-require-c-std "" } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // { dg-add-options ieee } +// { dg-prune-output ".*warning: tgammal has lower than advertised precision" } // Copyright (C) 2016-2019 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/special_functions/09_cyl_bessel_k/check_nan.cc b/libstdc++-v3/testsuite/special_functions/09_cyl_bessel_k/check_nan.cc index 27d2bfd05a9..03ae35a1614 100644 --- a/libstdc++-v3/testsuite/special_functions/09_cyl_bessel_k/check_nan.cc +++ b/libstdc++-v3/testsuite/special_functions/09_cyl_bessel_k/check_nan.cc @@ -2,6 +2,7 @@ // { dg-require-c-std "" } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // { dg-add-options ieee } +// { dg-prune-output ".*warning: tgammal has lower than advertised precision" } // Copyright (C) 2016-2019 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/special_functions/10_cyl_neumann/check_nan.cc b/libstdc++-v3/testsuite/special_functions/10_cyl_neumann/check_nan.cc index 9596e28d50b..9ae38918d1f 100644 --- a/libstdc++-v3/testsuite/special_functions/10_cyl_neumann/check_nan.cc +++ b/libstdc++-v3/testsuite/special_functions/10_cyl_neumann/check_nan.cc @@ -2,6 +2,7 @@ // { dg-require-c-std "" } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // { dg-add-options ieee } +// { dg-prune-output ".*warning: tgammal has lower than advertised precision" } // Copyright (C) 2016-2019 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/special_functions/19_sph_bessel/check_nan.cc b/libstdc++-v3/testsuite/special_functions/19_sph_bessel/check_nan.cc index 2d34b365540..35b18bf4028 100644 --- a/libstdc++-v3/testsuite/special_functions/19_sph_bessel/check_nan.cc +++ b/libstdc++-v3/testsuite/special_functions/19_sph_bessel/check_nan.cc @@ -2,6 +2,7 @@ // { dg-require-c-std "" } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // { dg-add-options ieee } +// { dg-prune-output ".*warning: tgammal has lower than advertised precision" } // Copyright (C) 2016-2019 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/special_functions/21_sph_neumann/check_nan.cc b/libstdc++-v3/testsuite/special_functions/21_sph_neumann/check_nan.cc index 691122d846e..8ab311347a4 100644 --- a/libstdc++-v3/testsuite/special_functions/21_sph_neumann/check_nan.cc +++ b/libstdc++-v3/testsuite/special_functions/21_sph_neumann/check_nan.cc @@ -2,6 +2,7 @@ // { dg-require-c-std "" } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // { dg-add-options ieee } +// { dg-prune-output ".*warning: tgammal has lower than advertised precision" } // Copyright (C) 2016-2019 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/08_cyl_bessel_i/check_nan.cc b/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/08_cyl_bessel_i/check_nan.cc index 98e2fa0a8a7..e2227e06af4 100644 --- a/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/08_cyl_bessel_i/check_nan.cc +++ b/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/08_cyl_bessel_i/check_nan.cc @@ -1,5 +1,6 @@ // { dg-require-c-std "" } // { dg-add-options ieee } +// { dg-prune-output ".*warning: tgammal has lower than advertised precision" } // 2007-01-10 Edward Smith-Rowland <3dw4rd@verizon.net> // diff --git a/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/09_cyl_bessel_j/check_nan.cc b/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/09_cyl_bessel_j/check_nan.cc index bd873ed7c8d..60deae8374e 100644 --- a/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/09_cyl_bessel_j/check_nan.cc +++ b/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/09_cyl_bessel_j/check_nan.cc @@ -1,5 +1,6 @@ // { dg-require-c-std "" } // { dg-add-options ieee } +// { dg-prune-output ".*warning: tgammal has lower than advertised precision" } // 2007-01-10 Edward Smith-Rowland <3dw4rd@verizon.net> // diff --git a/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/10_cyl_bessel_k/check_nan.cc b/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/10_cyl_bessel_k/check_nan.cc index 307207b135e..22a8123e739 100644 --- a/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/10_cyl_bessel_k/check_nan.cc +++ b/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/10_cyl_bessel_k/check_nan.cc @@ -1,5 +1,6 @@ // { dg-require-c-std "" } // { dg-add-options ieee } +// { dg-prune-output ".*warning: tgammal has lower than advertised precision" } // 2007-01-10 Edward Smith-Rowland <3dw4rd@verizon.net> // diff --git a/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/11_cyl_neumann/check_nan.cc b/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/11_cyl_neumann/check_nan.cc index 828b9a4539b..2fb8ae358d2 100644 --- a/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/11_cyl_neumann/check_nan.cc +++ b/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/11_cyl_neumann/check_nan.cc @@ -1,5 +1,6 @@ // { dg-require-c-std "" } // { dg-add-options ieee } +// { dg-prune-output ".*warning: tgammal has lower than advertised precision" } // 2007-01-10 Edward Smith-Rowland <3dw4rd@verizon.net> // diff --git a/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/21_sph_bessel/check_nan.cc b/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/21_sph_bessel/check_nan.cc index c4ae0a2fc1e..4038de62438 100644 --- a/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/21_sph_bessel/check_nan.cc +++ b/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/21_sph_bessel/check_nan.cc @@ -1,5 +1,6 @@ // { dg-require-c-std "" } // { dg-add-options ieee } +// { dg-prune-output ".*warning: tgammal has lower than advertised precision" } // 2007-01-10 Edward Smith-Rowland <3dw4rd@verizon.net> // diff --git a/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/23_sph_neumann/check_nan.cc b/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/23_sph_neumann/check_nan.cc index 230f0f956e1..89f89e5ecaf 100644 --- a/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/23_sph_neumann/check_nan.cc +++ b/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/23_sph_neumann/check_nan.cc @@ -1,5 +1,6 @@ // { dg-require-c-std "" } // { dg-add-options ieee } +// { dg-prune-output ".*warning: tgammal has lower than advertised precision" } // 2007-01-10 Edward Smith-Rowland <3dw4rd@verizon.net> //