From: Jonathan Wakely Date: Tue, 2 Aug 2016 13:32:16 +0000 (+0100) Subject: Only run math special function tests for C++11 and later X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=196c9e7a7d86f1f214e4b5f36affd4be21c8719e;p=gcc.git Only run math special function tests for C++11 and later * testsuite/ext/special_functions/conf_hyperg/check_nan.cc: Only run for C++11 and later. * testsuite/ext/special_functions/conf_hyperg/check_value.cc: Likewise. * testsuite/ext/special_functions/conf_hyperg/compile.cc: Likewise. * testsuite/ext/special_functions/hyperg/check_nan.cc: Likewise. * testsuite/ext/special_functions/hyperg/check_value.cc: Likewise. * testsuite/ext/special_functions/hyperg/compile.cc: Likewise. * testsuite/special_functions/01_assoc_laguerre/check_nan.cc: Likewise. * testsuite/special_functions/01_assoc_laguerre/check_value.cc: Likewise. * testsuite/special_functions/01_assoc_laguerre/compile.cc: Likewise. * testsuite/special_functions/01_assoc_laguerre/compile_2.cc: Likewise. * testsuite/special_functions/02_assoc_legendre/check_nan.cc: Likewise. * testsuite/special_functions/02_assoc_legendre/check_value.cc: Likewise. * testsuite/special_functions/02_assoc_legendre/compile.cc: Likewise. * testsuite/special_functions/02_assoc_legendre/compile_2.cc: * testsuite/special_functions/03_beta/check_nan.cc: Likewise. * testsuite/special_functions/03_beta/check_value.cc: Likewise. * testsuite/special_functions/03_beta/compile.cc: Likewise. * testsuite/special_functions/03_beta/compile_2.cc: Likewise. * testsuite/special_functions/04_comp_ellint_1/check_nan.cc: Likewise. * testsuite/special_functions/04_comp_ellint_1/check_value.cc: Likewise. * testsuite/special_functions/04_comp_ellint_1/compile.cc: Likewise. * testsuite/special_functions/04_comp_ellint_1/compile_2.cc: Likewise. * testsuite/special_functions/05_comp_ellint_2/check_nan.cc: Likewise. * testsuite/special_functions/05_comp_ellint_2/check_value.cc: Likewise. * testsuite/special_functions/05_comp_ellint_2/compile.cc: Likewise. * testsuite/special_functions/05_comp_ellint_2/compile_2.cc: Likewise. * testsuite/special_functions/06_comp_ellint_3/check_nan.cc: Likewise. * testsuite/special_functions/06_comp_ellint_3/check_value.cc: Likewise. * testsuite/special_functions/06_comp_ellint_3/compile.cc: Likewise. * testsuite/special_functions/06_comp_ellint_3/compile_2.cc: Likewise. * testsuite/special_functions/07_cyl_bessel_i/check_nan.cc: Likewise. * testsuite/special_functions/07_cyl_bessel_i/check_value.cc: Likewise. * testsuite/special_functions/07_cyl_bessel_i/compile.cc: Likewise. * testsuite/special_functions/07_cyl_bessel_i/compile_2.cc: Likewise. * testsuite/special_functions/07_cyl_bessel_i/pr56216.cc: Likewise. * testsuite/special_functions/08_cyl_bessel_j/check_nan.cc: Likewise. * testsuite/special_functions/08_cyl_bessel_j/check_value.cc: Likewise. * testsuite/special_functions/08_cyl_bessel_j/compile.cc: Likewise. * testsuite/special_functions/08_cyl_bessel_j/compile_2.cc: Likewise. * testsuite/special_functions/09_cyl_bessel_k/check_nan.cc: Likewise. * testsuite/special_functions/09_cyl_bessel_k/check_value.cc: Likewise. * testsuite/special_functions/09_cyl_bessel_k/compile.cc: Likewise. * testsuite/special_functions/09_cyl_bessel_k/compile_2.cc: Likewise. * testsuite/special_functions/10_cyl_neumann/check_nan.cc: Likewise. * testsuite/special_functions/10_cyl_neumann/check_value.cc: Likewise. * testsuite/special_functions/10_cyl_neumann/compile.cc: Likewise. * testsuite/special_functions/10_cyl_neumann/compile_2.cc: Likewise. * testsuite/special_functions/11_ellint_1/check_nan.cc: Likewise. * testsuite/special_functions/11_ellint_1/check_value.cc: Likewise. * testsuite/special_functions/11_ellint_1/compile.cc: Likewise. * testsuite/special_functions/11_ellint_1/compile_2.cc: Likewise. * testsuite/special_functions/12_ellint_2/check_nan.cc: Likewise. * testsuite/special_functions/12_ellint_2/check_value.cc: Likewise. * testsuite/special_functions/12_ellint_2/compile.cc: Likewise. * testsuite/special_functions/12_ellint_2/compile_2.cc: Likewise. * testsuite/special_functions/13_ellint_3/check_nan.cc: Likewise. * testsuite/special_functions/13_ellint_3/check_value.cc: Likewise. * testsuite/special_functions/13_ellint_3/compile.cc: Likewise. * testsuite/special_functions/13_ellint_3/compile_2.cc: Likewise. * testsuite/special_functions/14_expint/check_nan.cc: Likewise. * testsuite/special_functions/14_expint/check_value.cc: Likewise. * testsuite/special_functions/14_expint/compile.cc: Likewise. * testsuite/special_functions/14_expint/compile_2.cc: Likewise. * testsuite/special_functions/15_hermite/check_nan.cc: Likewise. * testsuite/special_functions/15_hermite/check_value.cc: Likewise. * testsuite/special_functions/15_hermite/compile.cc: Likewise. * testsuite/special_functions/15_hermite/compile_2.cc: Likewise. * testsuite/special_functions/16_laguerre/check_nan.cc: Likewise. * testsuite/special_functions/16_laguerre/check_value.cc: Likewise. * testsuite/special_functions/16_laguerre/compile.cc: Likewise. * testsuite/special_functions/16_laguerre/compile_2.cc: Likewise. * testsuite/special_functions/17_legendre/check_nan.cc: Likewise. * testsuite/special_functions/17_legendre/check_value.cc: Likewise. * testsuite/special_functions/17_legendre/compile.cc: Likewise. * testsuite/special_functions/17_legendre/compile_2.cc: Likewise. * testsuite/special_functions/18_riemann_zeta/check_nan.cc: Likewise. * testsuite/special_functions/18_riemann_zeta/check_value.cc: Likewise. * testsuite/special_functions/18_riemann_zeta/compile.cc: Likewise. * testsuite/special_functions/18_riemann_zeta/compile_2.cc: Likewise. * testsuite/special_functions/19_sph_bessel/check_nan.cc: Likewise. * testsuite/special_functions/19_sph_bessel/check_value.cc: Likewise. * testsuite/special_functions/19_sph_bessel/compile.cc: Likewise. * testsuite/special_functions/19_sph_bessel/compile_2.cc: Likewise. * testsuite/special_functions/20_sph_legendre/check_nan.cc: Likewise. * testsuite/special_functions/20_sph_legendre/check_value.cc: Likewise. * testsuite/special_functions/20_sph_legendre/compile.cc: Likewise. * testsuite/special_functions/20_sph_legendre/compile_2.cc: Likewise. * testsuite/special_functions/21_sph_neumann/check_nan.cc: Likewise. * testsuite/special_functions/21_sph_neumann/check_value.cc: Likewise. * testsuite/special_functions/21_sph_neumann/compile.cc: Likewise. * testsuite/special_functions/21_sph_neumann/compile_2.cc: Likewise. From-SVN: r238986 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e6d43257e94..8c025298a07 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,112 @@ 2016-08-02 Jonathan Wakely + * testsuite/ext/special_functions/conf_hyperg/check_nan.cc: Only + run for C++11 and later. + * testsuite/ext/special_functions/conf_hyperg/check_value.cc: + Likewise. + * testsuite/ext/special_functions/conf_hyperg/compile.cc: Likewise. + * testsuite/ext/special_functions/hyperg/check_nan.cc: Likewise. + * testsuite/ext/special_functions/hyperg/check_value.cc: Likewise. + * testsuite/ext/special_functions/hyperg/compile.cc: Likewise. + * testsuite/special_functions/01_assoc_laguerre/check_nan.cc: + Likewise. + * testsuite/special_functions/01_assoc_laguerre/check_value.cc: + Likewise. + * testsuite/special_functions/01_assoc_laguerre/compile.cc: Likewise. + * testsuite/special_functions/01_assoc_laguerre/compile_2.cc: + Likewise. + * testsuite/special_functions/02_assoc_legendre/check_nan.cc: + Likewise. + * testsuite/special_functions/02_assoc_legendre/check_value.cc: + Likewise. + * testsuite/special_functions/02_assoc_legendre/compile.cc: Likewise. + * testsuite/special_functions/02_assoc_legendre/compile_2.cc: + * testsuite/special_functions/03_beta/check_nan.cc: Likewise. + * testsuite/special_functions/03_beta/check_value.cc: Likewise. + * testsuite/special_functions/03_beta/compile.cc: Likewise. + * testsuite/special_functions/03_beta/compile_2.cc: Likewise. + * testsuite/special_functions/04_comp_ellint_1/check_nan.cc: Likewise. + * testsuite/special_functions/04_comp_ellint_1/check_value.cc: + Likewise. + * testsuite/special_functions/04_comp_ellint_1/compile.cc: Likewise. + * testsuite/special_functions/04_comp_ellint_1/compile_2.cc: Likewise. + * testsuite/special_functions/05_comp_ellint_2/check_nan.cc: Likewise. + * testsuite/special_functions/05_comp_ellint_2/check_value.cc: + Likewise. + * testsuite/special_functions/05_comp_ellint_2/compile.cc: Likewise. + * testsuite/special_functions/05_comp_ellint_2/compile_2.cc: Likewise. + * testsuite/special_functions/06_comp_ellint_3/check_nan.cc: Likewise. + * testsuite/special_functions/06_comp_ellint_3/check_value.cc: + Likewise. + * testsuite/special_functions/06_comp_ellint_3/compile.cc: Likewise. + * testsuite/special_functions/06_comp_ellint_3/compile_2.cc: Likewise. + * testsuite/special_functions/07_cyl_bessel_i/check_nan.cc: Likewise. + * testsuite/special_functions/07_cyl_bessel_i/check_value.cc: + Likewise. + * testsuite/special_functions/07_cyl_bessel_i/compile.cc: Likewise. + * testsuite/special_functions/07_cyl_bessel_i/compile_2.cc: Likewise. + * testsuite/special_functions/07_cyl_bessel_i/pr56216.cc: Likewise. + * testsuite/special_functions/08_cyl_bessel_j/check_nan.cc: Likewise. + * testsuite/special_functions/08_cyl_bessel_j/check_value.cc: + Likewise. + * testsuite/special_functions/08_cyl_bessel_j/compile.cc: Likewise. + * testsuite/special_functions/08_cyl_bessel_j/compile_2.cc: Likewise. + * testsuite/special_functions/09_cyl_bessel_k/check_nan.cc: Likewise. + * testsuite/special_functions/09_cyl_bessel_k/check_value.cc: + Likewise. + * testsuite/special_functions/09_cyl_bessel_k/compile.cc: Likewise. + * testsuite/special_functions/09_cyl_bessel_k/compile_2.cc: Likewise. + * testsuite/special_functions/10_cyl_neumann/check_nan.cc: Likewise. + * testsuite/special_functions/10_cyl_neumann/check_value.cc: Likewise. + * testsuite/special_functions/10_cyl_neumann/compile.cc: Likewise. + * testsuite/special_functions/10_cyl_neumann/compile_2.cc: Likewise. + * testsuite/special_functions/11_ellint_1/check_nan.cc: Likewise. + * testsuite/special_functions/11_ellint_1/check_value.cc: Likewise. + * testsuite/special_functions/11_ellint_1/compile.cc: Likewise. + * testsuite/special_functions/11_ellint_1/compile_2.cc: Likewise. + * testsuite/special_functions/12_ellint_2/check_nan.cc: Likewise. + * testsuite/special_functions/12_ellint_2/check_value.cc: Likewise. + * testsuite/special_functions/12_ellint_2/compile.cc: Likewise. + * testsuite/special_functions/12_ellint_2/compile_2.cc: Likewise. + * testsuite/special_functions/13_ellint_3/check_nan.cc: Likewise. + * testsuite/special_functions/13_ellint_3/check_value.cc: Likewise. + * testsuite/special_functions/13_ellint_3/compile.cc: Likewise. + * testsuite/special_functions/13_ellint_3/compile_2.cc: Likewise. + * testsuite/special_functions/14_expint/check_nan.cc: Likewise. + * testsuite/special_functions/14_expint/check_value.cc: Likewise. + * testsuite/special_functions/14_expint/compile.cc: Likewise. + * testsuite/special_functions/14_expint/compile_2.cc: Likewise. + * testsuite/special_functions/15_hermite/check_nan.cc: Likewise. + * testsuite/special_functions/15_hermite/check_value.cc: Likewise. + * testsuite/special_functions/15_hermite/compile.cc: Likewise. + * testsuite/special_functions/15_hermite/compile_2.cc: Likewise. + * testsuite/special_functions/16_laguerre/check_nan.cc: Likewise. + * testsuite/special_functions/16_laguerre/check_value.cc: Likewise. + * testsuite/special_functions/16_laguerre/compile.cc: Likewise. + * testsuite/special_functions/16_laguerre/compile_2.cc: Likewise. + * testsuite/special_functions/17_legendre/check_nan.cc: Likewise. + * testsuite/special_functions/17_legendre/check_value.cc: Likewise. + * testsuite/special_functions/17_legendre/compile.cc: Likewise. + * testsuite/special_functions/17_legendre/compile_2.cc: Likewise. + * testsuite/special_functions/18_riemann_zeta/check_nan.cc: Likewise. + * testsuite/special_functions/18_riemann_zeta/check_value.cc: + Likewise. + * testsuite/special_functions/18_riemann_zeta/compile.cc: Likewise. + * testsuite/special_functions/18_riemann_zeta/compile_2.cc: Likewise. + * testsuite/special_functions/19_sph_bessel/check_nan.cc: Likewise. + * testsuite/special_functions/19_sph_bessel/check_value.cc: Likewise. + * testsuite/special_functions/19_sph_bessel/compile.cc: Likewise. + * testsuite/special_functions/19_sph_bessel/compile_2.cc: Likewise. + * testsuite/special_functions/20_sph_legendre/check_nan.cc: Likewise. + * testsuite/special_functions/20_sph_legendre/check_value.cc: + Likewise. + * testsuite/special_functions/20_sph_legendre/compile.cc: Likewise. + * testsuite/special_functions/20_sph_legendre/compile_2.cc: Likewise. + * testsuite/special_functions/21_sph_neumann/check_nan.cc: Likewise. + * testsuite/special_functions/21_sph_neumann/check_value.cc: Likewise. + * testsuite/special_functions/21_sph_neumann/compile.cc: Likewise. + * testsuite/special_functions/21_sph_neumann/compile_2.cc: Likewise. + * testsuite/tr1/5_numerical_facilities/special_functions/ 08_cyl_bessel_i/check_value.cc: Use __attribute__((unused)) instead of [[gnu::unused]]. diff --git a/libstdc++-v3/testsuite/ext/special_functions/conf_hyperg/check_nan.cc b/libstdc++-v3/testsuite/ext/special_functions/conf_hyperg/check_nan.cc index 7119ce74f74..d6108d5fd4b 100644 --- a/libstdc++-v3/testsuite/ext/special_functions/conf_hyperg/check_nan.cc +++ b/libstdc++-v3/testsuite/ext/special_functions/conf_hyperg/check_nan.cc @@ -1,6 +1,7 @@ // { dg-require-c-std "" } // { dg-add-options ieee } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } +// { dg-do run { target c++11 } } // Copyright (C) 2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/ext/special_functions/conf_hyperg/check_value.cc b/libstdc++-v3/testsuite/ext/special_functions/conf_hyperg/check_value.cc index 276efd6db74..d863ae8df93 100644 --- a/libstdc++-v3/testsuite/ext/special_functions/conf_hyperg/check_value.cc +++ b/libstdc++-v3/testsuite/ext/special_functions/conf_hyperg/check_value.cc @@ -1,4 +1,5 @@ // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } +// { dg-do run { target c++11 } } // // Copyright (C) 2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/ext/special_functions/conf_hyperg/compile.cc b/libstdc++-v3/testsuite/ext/special_functions/conf_hyperg/compile.cc index e811c5c359b..36f9a2cc4a9 100644 --- a/libstdc++-v3/testsuite/ext/special_functions/conf_hyperg/compile.cc +++ b/libstdc++-v3/testsuite/ext/special_functions/conf_hyperg/compile.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/ext/special_functions/hyperg/check_nan.cc b/libstdc++-v3/testsuite/ext/special_functions/hyperg/check_nan.cc index ba381ca3803..8806a3c2b1d 100644 --- a/libstdc++-v3/testsuite/ext/special_functions/hyperg/check_nan.cc +++ b/libstdc++-v3/testsuite/ext/special_functions/hyperg/check_nan.cc @@ -1,6 +1,7 @@ // { dg-require-c-std "" } // { dg-add-options ieee } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } +// { dg-do run { target c++11 } } // Copyright (C) 2016 Free Software Foundation, Inc. // 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 d87fcef03ee..5a7a4a6f670 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__ -ffp-contract=off" } // { dg-additional-options "-ffloat-store" { target { m68*-*-* || ia32 } } } +// { dg-do run { target c++11 } } // Copyright (C) 2016 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/ext/special_functions/hyperg/compile.cc b/libstdc++-v3/testsuite/ext/special_functions/hyperg/compile.cc index bf76d7861cc..3748f6ebd3e 100644 --- a/libstdc++-v3/testsuite/ext/special_functions/hyperg/compile.cc +++ b/libstdc++-v3/testsuite/ext/special_functions/hyperg/compile.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/01_assoc_laguerre/check_nan.cc b/libstdc++-v3/testsuite/special_functions/01_assoc_laguerre/check_nan.cc index c415ce16596..60c6871811d 100644 --- a/libstdc++-v3/testsuite/special_functions/01_assoc_laguerre/check_nan.cc +++ b/libstdc++-v3/testsuite/special_functions/01_assoc_laguerre/check_nan.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-require-c-std "" } // { dg-add-options ieee } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } diff --git a/libstdc++-v3/testsuite/special_functions/01_assoc_laguerre/check_value.cc b/libstdc++-v3/testsuite/special_functions/01_assoc_laguerre/check_value.cc index 89f317dfaac..d6a4f55fb7c 100644 --- a/libstdc++-v3/testsuite/special_functions/01_assoc_laguerre/check_value.cc +++ b/libstdc++-v3/testsuite/special_functions/01_assoc_laguerre/check_value.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/01_assoc_laguerre/compile.cc b/libstdc++-v3/testsuite/special_functions/01_assoc_laguerre/compile.cc index 2214c62fd09..c2d32b79387 100644 --- a/libstdc++-v3/testsuite/special_functions/01_assoc_laguerre/compile.cc +++ b/libstdc++-v3/testsuite/special_functions/01_assoc_laguerre/compile.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/01_assoc_laguerre/compile_2.cc b/libstdc++-v3/testsuite/special_functions/01_assoc_laguerre/compile_2.cc index 71af880c60d..d6a0ad1727d 100644 --- a/libstdc++-v3/testsuite/special_functions/01_assoc_laguerre/compile_2.cc +++ b/libstdc++-v3/testsuite/special_functions/01_assoc_laguerre/compile_2.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/02_assoc_legendre/check_nan.cc b/libstdc++-v3/testsuite/special_functions/02_assoc_legendre/check_nan.cc index 63a8de3c49d..ec916ff8cfe 100644 --- a/libstdc++-v3/testsuite/special_functions/02_assoc_legendre/check_nan.cc +++ b/libstdc++-v3/testsuite/special_functions/02_assoc_legendre/check_nan.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-require-c-std "" } // { dg-add-options ieee } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } 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 0c60ac64a1b..9028872c87e 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,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__ -ffp-contract=off" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/02_assoc_legendre/compile.cc b/libstdc++-v3/testsuite/special_functions/02_assoc_legendre/compile.cc index 5c7e6510a49..e088030370d 100644 --- a/libstdc++-v3/testsuite/special_functions/02_assoc_legendre/compile.cc +++ b/libstdc++-v3/testsuite/special_functions/02_assoc_legendre/compile.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/02_assoc_legendre/compile_2.cc b/libstdc++-v3/testsuite/special_functions/02_assoc_legendre/compile_2.cc index 9641f3aab5a..06b9a9a7c83 100644 --- a/libstdc++-v3/testsuite/special_functions/02_assoc_legendre/compile_2.cc +++ b/libstdc++-v3/testsuite/special_functions/02_assoc_legendre/compile_2.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/03_beta/check_nan.cc b/libstdc++-v3/testsuite/special_functions/03_beta/check_nan.cc index 3dc9f33a898..07ea9fa8bd8 100644 --- a/libstdc++-v3/testsuite/special_functions/03_beta/check_nan.cc +++ b/libstdc++-v3/testsuite/special_functions/03_beta/check_nan.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-require-c-std "" } // { dg-add-options ieee } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } diff --git a/libstdc++-v3/testsuite/special_functions/03_beta/check_value.cc b/libstdc++-v3/testsuite/special_functions/03_beta/check_value.cc index 9cc0b3528e8..93348810f79 100644 --- a/libstdc++-v3/testsuite/special_functions/03_beta/check_value.cc +++ b/libstdc++-v3/testsuite/special_functions/03_beta/check_value.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/03_beta/compile.cc b/libstdc++-v3/testsuite/special_functions/03_beta/compile.cc index eb5e4d02fc3..25e5f063ea1 100644 --- a/libstdc++-v3/testsuite/special_functions/03_beta/compile.cc +++ b/libstdc++-v3/testsuite/special_functions/03_beta/compile.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/03_beta/compile_2.cc b/libstdc++-v3/testsuite/special_functions/03_beta/compile_2.cc index a6eb6acad1a..76ee9fcdbed 100644 --- a/libstdc++-v3/testsuite/special_functions/03_beta/compile_2.cc +++ b/libstdc++-v3/testsuite/special_functions/03_beta/compile_2.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/04_comp_ellint_1/check_nan.cc b/libstdc++-v3/testsuite/special_functions/04_comp_ellint_1/check_nan.cc index 33e63c5c400..7d0eb0a2f81 100644 --- a/libstdc++-v3/testsuite/special_functions/04_comp_ellint_1/check_nan.cc +++ b/libstdc++-v3/testsuite/special_functions/04_comp_ellint_1/check_nan.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-require-c-std "" } // { dg-add-options ieee } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } diff --git a/libstdc++-v3/testsuite/special_functions/04_comp_ellint_1/check_value.cc b/libstdc++-v3/testsuite/special_functions/04_comp_ellint_1/check_value.cc index b2bf414bf0f..f9e99528d44 100644 --- a/libstdc++-v3/testsuite/special_functions/04_comp_ellint_1/check_value.cc +++ b/libstdc++-v3/testsuite/special_functions/04_comp_ellint_1/check_value.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/04_comp_ellint_1/compile.cc b/libstdc++-v3/testsuite/special_functions/04_comp_ellint_1/compile.cc index cd95b6b9a97..87987f56bd4 100644 --- a/libstdc++-v3/testsuite/special_functions/04_comp_ellint_1/compile.cc +++ b/libstdc++-v3/testsuite/special_functions/04_comp_ellint_1/compile.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/04_comp_ellint_1/compile_2.cc b/libstdc++-v3/testsuite/special_functions/04_comp_ellint_1/compile_2.cc index de4ef4b95b5..b3d6bfd1579 100644 --- a/libstdc++-v3/testsuite/special_functions/04_comp_ellint_1/compile_2.cc +++ b/libstdc++-v3/testsuite/special_functions/04_comp_ellint_1/compile_2.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/05_comp_ellint_2/check_nan.cc b/libstdc++-v3/testsuite/special_functions/05_comp_ellint_2/check_nan.cc index e4a912f1b05..72e1d107a69 100644 --- a/libstdc++-v3/testsuite/special_functions/05_comp_ellint_2/check_nan.cc +++ b/libstdc++-v3/testsuite/special_functions/05_comp_ellint_2/check_nan.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-require-c-std "" } // { dg-add-options ieee } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } diff --git a/libstdc++-v3/testsuite/special_functions/05_comp_ellint_2/check_value.cc b/libstdc++-v3/testsuite/special_functions/05_comp_ellint_2/check_value.cc index 649b8e55767..eda301254d0 100644 --- a/libstdc++-v3/testsuite/special_functions/05_comp_ellint_2/check_value.cc +++ b/libstdc++-v3/testsuite/special_functions/05_comp_ellint_2/check_value.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/05_comp_ellint_2/compile.cc b/libstdc++-v3/testsuite/special_functions/05_comp_ellint_2/compile.cc index a00a031c5cb..9fe4058f4d6 100644 --- a/libstdc++-v3/testsuite/special_functions/05_comp_ellint_2/compile.cc +++ b/libstdc++-v3/testsuite/special_functions/05_comp_ellint_2/compile.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/05_comp_ellint_2/compile_2.cc b/libstdc++-v3/testsuite/special_functions/05_comp_ellint_2/compile_2.cc index 4707bab5e9f..6d198ff14e3 100644 --- a/libstdc++-v3/testsuite/special_functions/05_comp_ellint_2/compile_2.cc +++ b/libstdc++-v3/testsuite/special_functions/05_comp_ellint_2/compile_2.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/06_comp_ellint_3/check_nan.cc b/libstdc++-v3/testsuite/special_functions/06_comp_ellint_3/check_nan.cc index 0bc697cf554..62be47da3bd 100644 --- a/libstdc++-v3/testsuite/special_functions/06_comp_ellint_3/check_nan.cc +++ b/libstdc++-v3/testsuite/special_functions/06_comp_ellint_3/check_nan.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-require-c-std "" } // { dg-add-options ieee } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } diff --git a/libstdc++-v3/testsuite/special_functions/06_comp_ellint_3/check_value.cc b/libstdc++-v3/testsuite/special_functions/06_comp_ellint_3/check_value.cc index 694bf42fbd6..6ac640fbe07 100644 --- a/libstdc++-v3/testsuite/special_functions/06_comp_ellint_3/check_value.cc +++ b/libstdc++-v3/testsuite/special_functions/06_comp_ellint_3/check_value.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/06_comp_ellint_3/compile.cc b/libstdc++-v3/testsuite/special_functions/06_comp_ellint_3/compile.cc index 0bd99a65fd3..e38010e5df7 100644 --- a/libstdc++-v3/testsuite/special_functions/06_comp_ellint_3/compile.cc +++ b/libstdc++-v3/testsuite/special_functions/06_comp_ellint_3/compile.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/06_comp_ellint_3/compile_2.cc b/libstdc++-v3/testsuite/special_functions/06_comp_ellint_3/compile_2.cc index 76da042fd32..e09580ffad5 100644 --- a/libstdc++-v3/testsuite/special_functions/06_comp_ellint_3/compile_2.cc +++ b/libstdc++-v3/testsuite/special_functions/06_comp_ellint_3/compile_2.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 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 3639d103818..0bf026414c8 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 @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-require-c-std "" } // { dg-add-options ieee } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } diff --git a/libstdc++-v3/testsuite/special_functions/07_cyl_bessel_i/check_value.cc b/libstdc++-v3/testsuite/special_functions/07_cyl_bessel_i/check_value.cc index 792e0f14cbe..923122118ec 100644 --- a/libstdc++-v3/testsuite/special_functions/07_cyl_bessel_i/check_value.cc +++ b/libstdc++-v3/testsuite/special_functions/07_cyl_bessel_i/check_value.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/07_cyl_bessel_i/compile.cc b/libstdc++-v3/testsuite/special_functions/07_cyl_bessel_i/compile.cc index 1d13223f33b..1237398be5f 100644 --- a/libstdc++-v3/testsuite/special_functions/07_cyl_bessel_i/compile.cc +++ b/libstdc++-v3/testsuite/special_functions/07_cyl_bessel_i/compile.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/07_cyl_bessel_i/compile_2.cc b/libstdc++-v3/testsuite/special_functions/07_cyl_bessel_i/compile_2.cc index 33d3fe3bbb5..39dddc820ae 100644 --- a/libstdc++-v3/testsuite/special_functions/07_cyl_bessel_i/compile_2.cc +++ b/libstdc++-v3/testsuite/special_functions/07_cyl_bessel_i/compile_2.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/07_cyl_bessel_i/pr56216.cc b/libstdc++-v3/testsuite/special_functions/07_cyl_bessel_i/pr56216.cc index 31ca8944a10..e4a2ef46281 100644 --- a/libstdc++-v3/testsuite/special_functions/07_cyl_bessel_i/pr56216.cc +++ b/libstdc++-v3/testsuite/special_functions/07_cyl_bessel_i/pr56216.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2015 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 481a94c5f1f..719dac93dd5 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 @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-require-c-std "" } // { dg-add-options ieee } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } diff --git a/libstdc++-v3/testsuite/special_functions/08_cyl_bessel_j/check_value.cc b/libstdc++-v3/testsuite/special_functions/08_cyl_bessel_j/check_value.cc index 9a6255b6ce9..1c7c16a85b9 100644 --- a/libstdc++-v3/testsuite/special_functions/08_cyl_bessel_j/check_value.cc +++ b/libstdc++-v3/testsuite/special_functions/08_cyl_bessel_j/check_value.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/08_cyl_bessel_j/compile.cc b/libstdc++-v3/testsuite/special_functions/08_cyl_bessel_j/compile.cc index 336b54ad4b3..7a55aa07ecb 100644 --- a/libstdc++-v3/testsuite/special_functions/08_cyl_bessel_j/compile.cc +++ b/libstdc++-v3/testsuite/special_functions/08_cyl_bessel_j/compile.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/08_cyl_bessel_j/compile_2.cc b/libstdc++-v3/testsuite/special_functions/08_cyl_bessel_j/compile_2.cc index 8b25dd0a69e..1b2cf615623 100644 --- a/libstdc++-v3/testsuite/special_functions/08_cyl_bessel_j/compile_2.cc +++ b/libstdc++-v3/testsuite/special_functions/08_cyl_bessel_j/compile_2.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 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 48a77478906..b58a6fb9550 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 @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-require-c-std "" } // { dg-add-options ieee } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } diff --git a/libstdc++-v3/testsuite/special_functions/09_cyl_bessel_k/check_value.cc b/libstdc++-v3/testsuite/special_functions/09_cyl_bessel_k/check_value.cc index 2bd1fa27993..b3607aa7e5b 100644 --- a/libstdc++-v3/testsuite/special_functions/09_cyl_bessel_k/check_value.cc +++ b/libstdc++-v3/testsuite/special_functions/09_cyl_bessel_k/check_value.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/09_cyl_bessel_k/compile.cc b/libstdc++-v3/testsuite/special_functions/09_cyl_bessel_k/compile.cc index feb42faf75e..db2c447b43d 100644 --- a/libstdc++-v3/testsuite/special_functions/09_cyl_bessel_k/compile.cc +++ b/libstdc++-v3/testsuite/special_functions/09_cyl_bessel_k/compile.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/09_cyl_bessel_k/compile_2.cc b/libstdc++-v3/testsuite/special_functions/09_cyl_bessel_k/compile_2.cc index 4726e67050d..6e50bdbdbb8 100644 --- a/libstdc++-v3/testsuite/special_functions/09_cyl_bessel_k/compile_2.cc +++ b/libstdc++-v3/testsuite/special_functions/09_cyl_bessel_k/compile_2.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 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 bb9d927bd62..487d82e0489 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 @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-require-c-std "" } // { dg-add-options ieee } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } diff --git a/libstdc++-v3/testsuite/special_functions/10_cyl_neumann/check_value.cc b/libstdc++-v3/testsuite/special_functions/10_cyl_neumann/check_value.cc index 5d320f67e44..03d6b82b5d0 100644 --- a/libstdc++-v3/testsuite/special_functions/10_cyl_neumann/check_value.cc +++ b/libstdc++-v3/testsuite/special_functions/10_cyl_neumann/check_value.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/10_cyl_neumann/compile.cc b/libstdc++-v3/testsuite/special_functions/10_cyl_neumann/compile.cc index c9a49509e90..9a7db53d0eb 100644 --- a/libstdc++-v3/testsuite/special_functions/10_cyl_neumann/compile.cc +++ b/libstdc++-v3/testsuite/special_functions/10_cyl_neumann/compile.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/10_cyl_neumann/compile_2.cc b/libstdc++-v3/testsuite/special_functions/10_cyl_neumann/compile_2.cc index 4cf86309a0f..1d1eabd03c0 100644 --- a/libstdc++-v3/testsuite/special_functions/10_cyl_neumann/compile_2.cc +++ b/libstdc++-v3/testsuite/special_functions/10_cyl_neumann/compile_2.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/11_ellint_1/check_nan.cc b/libstdc++-v3/testsuite/special_functions/11_ellint_1/check_nan.cc index e5150faf090..71760204bf9 100644 --- a/libstdc++-v3/testsuite/special_functions/11_ellint_1/check_nan.cc +++ b/libstdc++-v3/testsuite/special_functions/11_ellint_1/check_nan.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-require-c-std "" } // { dg-add-options ieee } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } diff --git a/libstdc++-v3/testsuite/special_functions/11_ellint_1/check_value.cc b/libstdc++-v3/testsuite/special_functions/11_ellint_1/check_value.cc index 10bc509e936..b2040c7c9e7 100644 --- a/libstdc++-v3/testsuite/special_functions/11_ellint_1/check_value.cc +++ b/libstdc++-v3/testsuite/special_functions/11_ellint_1/check_value.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/11_ellint_1/compile.cc b/libstdc++-v3/testsuite/special_functions/11_ellint_1/compile.cc index f4502691f9e..50ad2e15adf 100644 --- a/libstdc++-v3/testsuite/special_functions/11_ellint_1/compile.cc +++ b/libstdc++-v3/testsuite/special_functions/11_ellint_1/compile.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/11_ellint_1/compile_2.cc b/libstdc++-v3/testsuite/special_functions/11_ellint_1/compile_2.cc index 0effa24003c..568d0c64edb 100644 --- a/libstdc++-v3/testsuite/special_functions/11_ellint_1/compile_2.cc +++ b/libstdc++-v3/testsuite/special_functions/11_ellint_1/compile_2.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/12_ellint_2/check_nan.cc b/libstdc++-v3/testsuite/special_functions/12_ellint_2/check_nan.cc index 4878577d5ef..9b2eba0738b 100644 --- a/libstdc++-v3/testsuite/special_functions/12_ellint_2/check_nan.cc +++ b/libstdc++-v3/testsuite/special_functions/12_ellint_2/check_nan.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-require-c-std "" } // { dg-add-options ieee } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } diff --git a/libstdc++-v3/testsuite/special_functions/12_ellint_2/check_value.cc b/libstdc++-v3/testsuite/special_functions/12_ellint_2/check_value.cc index 39f3cc63522..b49a4cc61a5 100644 --- a/libstdc++-v3/testsuite/special_functions/12_ellint_2/check_value.cc +++ b/libstdc++-v3/testsuite/special_functions/12_ellint_2/check_value.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/12_ellint_2/compile.cc b/libstdc++-v3/testsuite/special_functions/12_ellint_2/compile.cc index bd3350cd549..71206de5e4e 100644 --- a/libstdc++-v3/testsuite/special_functions/12_ellint_2/compile.cc +++ b/libstdc++-v3/testsuite/special_functions/12_ellint_2/compile.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/12_ellint_2/compile_2.cc b/libstdc++-v3/testsuite/special_functions/12_ellint_2/compile_2.cc index 098f301fca7..e0f8cb04773 100644 --- a/libstdc++-v3/testsuite/special_functions/12_ellint_2/compile_2.cc +++ b/libstdc++-v3/testsuite/special_functions/12_ellint_2/compile_2.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/13_ellint_3/check_nan.cc b/libstdc++-v3/testsuite/special_functions/13_ellint_3/check_nan.cc index a524c37d443..bdec59e5e1b 100644 --- a/libstdc++-v3/testsuite/special_functions/13_ellint_3/check_nan.cc +++ b/libstdc++-v3/testsuite/special_functions/13_ellint_3/check_nan.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-require-c-std "" } // { dg-add-options ieee } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } diff --git a/libstdc++-v3/testsuite/special_functions/13_ellint_3/check_value.cc b/libstdc++-v3/testsuite/special_functions/13_ellint_3/check_value.cc index 4332b5fe30e..d806d4880f0 100644 --- a/libstdc++-v3/testsuite/special_functions/13_ellint_3/check_value.cc +++ b/libstdc++-v3/testsuite/special_functions/13_ellint_3/check_value.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/13_ellint_3/compile.cc b/libstdc++-v3/testsuite/special_functions/13_ellint_3/compile.cc index 02fa02d00f0..0bba92475f8 100644 --- a/libstdc++-v3/testsuite/special_functions/13_ellint_3/compile.cc +++ b/libstdc++-v3/testsuite/special_functions/13_ellint_3/compile.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/13_ellint_3/compile_2.cc b/libstdc++-v3/testsuite/special_functions/13_ellint_3/compile_2.cc index 6e8f2fd019d..7e4fa00b821 100644 --- a/libstdc++-v3/testsuite/special_functions/13_ellint_3/compile_2.cc +++ b/libstdc++-v3/testsuite/special_functions/13_ellint_3/compile_2.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/14_expint/check_nan.cc b/libstdc++-v3/testsuite/special_functions/14_expint/check_nan.cc index dfb96de5107..7c0c5e49e9c 100644 --- a/libstdc++-v3/testsuite/special_functions/14_expint/check_nan.cc +++ b/libstdc++-v3/testsuite/special_functions/14_expint/check_nan.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-require-c-std "" } // { dg-add-options ieee } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } diff --git a/libstdc++-v3/testsuite/special_functions/14_expint/check_value.cc b/libstdc++-v3/testsuite/special_functions/14_expint/check_value.cc index dcd943b0316..5b3f8e0bea6 100644 --- a/libstdc++-v3/testsuite/special_functions/14_expint/check_value.cc +++ b/libstdc++-v3/testsuite/special_functions/14_expint/check_value.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/14_expint/compile.cc b/libstdc++-v3/testsuite/special_functions/14_expint/compile.cc index 9bbd9536195..facdab9ae18 100644 --- a/libstdc++-v3/testsuite/special_functions/14_expint/compile.cc +++ b/libstdc++-v3/testsuite/special_functions/14_expint/compile.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/14_expint/compile_2.cc b/libstdc++-v3/testsuite/special_functions/14_expint/compile_2.cc index c501bfd2f0b..452b35f4de2 100644 --- a/libstdc++-v3/testsuite/special_functions/14_expint/compile_2.cc +++ b/libstdc++-v3/testsuite/special_functions/14_expint/compile_2.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/15_hermite/check_nan.cc b/libstdc++-v3/testsuite/special_functions/15_hermite/check_nan.cc index e6fecef2115..cf5357e2e55 100644 --- a/libstdc++-v3/testsuite/special_functions/15_hermite/check_nan.cc +++ b/libstdc++-v3/testsuite/special_functions/15_hermite/check_nan.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-require-c-std "" } // { dg-add-options ieee } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } diff --git a/libstdc++-v3/testsuite/special_functions/15_hermite/check_value.cc b/libstdc++-v3/testsuite/special_functions/15_hermite/check_value.cc index a6b6a3f7a80..a805549758a 100644 --- a/libstdc++-v3/testsuite/special_functions/15_hermite/check_value.cc +++ b/libstdc++-v3/testsuite/special_functions/15_hermite/check_value.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/15_hermite/compile.cc b/libstdc++-v3/testsuite/special_functions/15_hermite/compile.cc index 948d907e310..d97d2d4e5bf 100644 --- a/libstdc++-v3/testsuite/special_functions/15_hermite/compile.cc +++ b/libstdc++-v3/testsuite/special_functions/15_hermite/compile.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/15_hermite/compile_2.cc b/libstdc++-v3/testsuite/special_functions/15_hermite/compile_2.cc index f792e1740ab..28a525bde50 100644 --- a/libstdc++-v3/testsuite/special_functions/15_hermite/compile_2.cc +++ b/libstdc++-v3/testsuite/special_functions/15_hermite/compile_2.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/16_laguerre/check_nan.cc b/libstdc++-v3/testsuite/special_functions/16_laguerre/check_nan.cc index 9ae721c86de..b73c3db3508 100644 --- a/libstdc++-v3/testsuite/special_functions/16_laguerre/check_nan.cc +++ b/libstdc++-v3/testsuite/special_functions/16_laguerre/check_nan.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-require-c-std "" } // { dg-add-options ieee } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } diff --git a/libstdc++-v3/testsuite/special_functions/16_laguerre/check_value.cc b/libstdc++-v3/testsuite/special_functions/16_laguerre/check_value.cc index 82f48724796..3447ad8e14a 100644 --- a/libstdc++-v3/testsuite/special_functions/16_laguerre/check_value.cc +++ b/libstdc++-v3/testsuite/special_functions/16_laguerre/check_value.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/16_laguerre/compile.cc b/libstdc++-v3/testsuite/special_functions/16_laguerre/compile.cc index b6636413174..7e248612297 100644 --- a/libstdc++-v3/testsuite/special_functions/16_laguerre/compile.cc +++ b/libstdc++-v3/testsuite/special_functions/16_laguerre/compile.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/16_laguerre/compile_2.cc b/libstdc++-v3/testsuite/special_functions/16_laguerre/compile_2.cc index 70c85ccf498..5bb244531e1 100644 --- a/libstdc++-v3/testsuite/special_functions/16_laguerre/compile_2.cc +++ b/libstdc++-v3/testsuite/special_functions/16_laguerre/compile_2.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/17_legendre/check_nan.cc b/libstdc++-v3/testsuite/special_functions/17_legendre/check_nan.cc index 98a9a30741c..26fa341ec8b 100644 --- a/libstdc++-v3/testsuite/special_functions/17_legendre/check_nan.cc +++ b/libstdc++-v3/testsuite/special_functions/17_legendre/check_nan.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-require-c-std "" } // { dg-add-options ieee } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } diff --git a/libstdc++-v3/testsuite/special_functions/17_legendre/check_value.cc b/libstdc++-v3/testsuite/special_functions/17_legendre/check_value.cc index 58944783928..626bdc90635 100644 --- a/libstdc++-v3/testsuite/special_functions/17_legendre/check_value.cc +++ b/libstdc++-v3/testsuite/special_functions/17_legendre/check_value.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/17_legendre/compile.cc b/libstdc++-v3/testsuite/special_functions/17_legendre/compile.cc index 820293a1ba1..4d60fb91b75 100644 --- a/libstdc++-v3/testsuite/special_functions/17_legendre/compile.cc +++ b/libstdc++-v3/testsuite/special_functions/17_legendre/compile.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/17_legendre/compile_2.cc b/libstdc++-v3/testsuite/special_functions/17_legendre/compile_2.cc index 00458b190cb..ff720fb072a 100644 --- a/libstdc++-v3/testsuite/special_functions/17_legendre/compile_2.cc +++ b/libstdc++-v3/testsuite/special_functions/17_legendre/compile_2.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/18_riemann_zeta/check_nan.cc b/libstdc++-v3/testsuite/special_functions/18_riemann_zeta/check_nan.cc index 59c67919747..1e49e9312c7 100644 --- a/libstdc++-v3/testsuite/special_functions/18_riemann_zeta/check_nan.cc +++ b/libstdc++-v3/testsuite/special_functions/18_riemann_zeta/check_nan.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-require-c-std "" } // { dg-add-options ieee } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } diff --git a/libstdc++-v3/testsuite/special_functions/18_riemann_zeta/check_value.cc b/libstdc++-v3/testsuite/special_functions/18_riemann_zeta/check_value.cc index f84edd86bb8..7ab4ea0988a 100644 --- a/libstdc++-v3/testsuite/special_functions/18_riemann_zeta/check_value.cc +++ b/libstdc++-v3/testsuite/special_functions/18_riemann_zeta/check_value.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/18_riemann_zeta/compile.cc b/libstdc++-v3/testsuite/special_functions/18_riemann_zeta/compile.cc index e655a1e0a9e..d14dbed976b 100644 --- a/libstdc++-v3/testsuite/special_functions/18_riemann_zeta/compile.cc +++ b/libstdc++-v3/testsuite/special_functions/18_riemann_zeta/compile.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/18_riemann_zeta/compile_2.cc b/libstdc++-v3/testsuite/special_functions/18_riemann_zeta/compile_2.cc index e6e3cd989c9..9b7c3d144af 100644 --- a/libstdc++-v3/testsuite/special_functions/18_riemann_zeta/compile_2.cc +++ b/libstdc++-v3/testsuite/special_functions/18_riemann_zeta/compile_2.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 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 28a98966bc8..dd99d669e77 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 @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-require-c-std "" } // { dg-add-options ieee } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } diff --git a/libstdc++-v3/testsuite/special_functions/19_sph_bessel/check_value.cc b/libstdc++-v3/testsuite/special_functions/19_sph_bessel/check_value.cc index 6ad21af3a4b..38e61626b3d 100644 --- a/libstdc++-v3/testsuite/special_functions/19_sph_bessel/check_value.cc +++ b/libstdc++-v3/testsuite/special_functions/19_sph_bessel/check_value.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/19_sph_bessel/compile.cc b/libstdc++-v3/testsuite/special_functions/19_sph_bessel/compile.cc index 3ad65a23e99..c7ec036c261 100644 --- a/libstdc++-v3/testsuite/special_functions/19_sph_bessel/compile.cc +++ b/libstdc++-v3/testsuite/special_functions/19_sph_bessel/compile.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/19_sph_bessel/compile_2.cc b/libstdc++-v3/testsuite/special_functions/19_sph_bessel/compile_2.cc index 1fb7c2dedb3..054e44294f8 100644 --- a/libstdc++-v3/testsuite/special_functions/19_sph_bessel/compile_2.cc +++ b/libstdc++-v3/testsuite/special_functions/19_sph_bessel/compile_2.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/20_sph_legendre/check_nan.cc b/libstdc++-v3/testsuite/special_functions/20_sph_legendre/check_nan.cc index caa7aff820e..8e2558d4118 100644 --- a/libstdc++-v3/testsuite/special_functions/20_sph_legendre/check_nan.cc +++ b/libstdc++-v3/testsuite/special_functions/20_sph_legendre/check_nan.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-require-c-std "" } // { dg-add-options ieee } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } diff --git a/libstdc++-v3/testsuite/special_functions/20_sph_legendre/check_value.cc b/libstdc++-v3/testsuite/special_functions/20_sph_legendre/check_value.cc index 994054a5912..5e4344e8572 100644 --- a/libstdc++-v3/testsuite/special_functions/20_sph_legendre/check_value.cc +++ b/libstdc++-v3/testsuite/special_functions/20_sph_legendre/check_value.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/20_sph_legendre/compile.cc b/libstdc++-v3/testsuite/special_functions/20_sph_legendre/compile.cc index a10e090a0a2..89ffc218d0d 100644 --- a/libstdc++-v3/testsuite/special_functions/20_sph_legendre/compile.cc +++ b/libstdc++-v3/testsuite/special_functions/20_sph_legendre/compile.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/20_sph_legendre/compile_2.cc b/libstdc++-v3/testsuite/special_functions/20_sph_legendre/compile_2.cc index 81cc52516fa..357dbdea871 100644 --- a/libstdc++-v3/testsuite/special_functions/20_sph_legendre/compile_2.cc +++ b/libstdc++-v3/testsuite/special_functions/20_sph_legendre/compile_2.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 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 e85a64323c5..03bc64399d0 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 @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-require-c-std "" } // { dg-add-options ieee } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } diff --git a/libstdc++-v3/testsuite/special_functions/21_sph_neumann/check_value.cc b/libstdc++-v3/testsuite/special_functions/21_sph_neumann/check_value.cc index 441594f2615..371501d0e05 100644 --- a/libstdc++-v3/testsuite/special_functions/21_sph_neumann/check_value.cc +++ b/libstdc++-v3/testsuite/special_functions/21_sph_neumann/check_value.cc @@ -1,3 +1,4 @@ +// { dg-do run { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/21_sph_neumann/compile.cc b/libstdc++-v3/testsuite/special_functions/21_sph_neumann/compile.cc index 208b809b5a1..02404b5cffc 100644 --- a/libstdc++-v3/testsuite/special_functions/21_sph_neumann/compile.cc +++ b/libstdc++-v3/testsuite/special_functions/21_sph_neumann/compile.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/special_functions/21_sph_neumann/compile_2.cc b/libstdc++-v3/testsuite/special_functions/21_sph_neumann/compile_2.cc index b9d83862244..456d98624d3 100644 --- a/libstdc++-v3/testsuite/special_functions/21_sph_neumann/compile_2.cc +++ b/libstdc++-v3/testsuite/special_functions/21_sph_neumann/compile_2.cc @@ -1,4 +1,4 @@ -// { dg-do compile } +// { dg-do compile { target c++11 } } // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" } // Copyright (C) 2016 Free Software Foundation, Inc.