diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2016-08-02 14:32:02 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2016-08-02 14:32:02 +0100 |
commit | 69332dba20a1ff23bdedd1441f296649e33deb4e (patch) | |
tree | 88410cfa2904c46d8f3f076a32fea2fbf2131d9d /libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/09_cyl_bessel_j/check_value.cc | |
parent | e15396276ef3d52c45ca76cfcf23129342ee2883 (diff) | |
download | gcc-69332dba20a1ff23bdedd1441f296649e33deb4e.tar.gz |
Make TR1 special function tests support C++98
* testsuite/tr1/5_numerical_facilities/special_functions/
08_cyl_bessel_i/check_value.cc: Use __attribute__((unused)) instead
of [[gnu::unused]].
* testsuite/tr1/5_numerical_facilities/special_functions/
09_cyl_bessel_j/check_value.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/special_functions/
10_cyl_bessel_k/check_value.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/special_functions/
11_cyl_neumann/check_value.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/special_functions/
21_sph_bessel/check_value.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/special_functions/
23_sph_neumann/check_value.cc: Likewise.
From-SVN: r238985
Diffstat (limited to 'libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/09_cyl_bessel_j/check_value.cc')
-rw-r--r-- | libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/09_cyl_bessel_j/check_value.cc | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/09_cyl_bessel_j/check_value.cc b/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/09_cyl_bessel_j/check_value.cc index 49dc3edf9a7..d7cc1c63f1c 100644 --- a/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/09_cyl_bessel_j/check_value.cc +++ b/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/09_cyl_bessel_j/check_value.cc @@ -69,7 +69,7 @@ template<typename Tp> void test001() { - bool test [[gnu::unused]] = true; + bool test __attribute__((unused)) = true; const Tp eps = std::numeric_limits<Tp>::epsilon(); Tp max_abs_diff = -Tp(1); Tp max_abs_frac = -Tp(1); @@ -123,7 +123,7 @@ template<typename Tp> void test002() { - bool test [[gnu::unused]] = true; + bool test __attribute__((unused)) = true; const Tp eps = std::numeric_limits<Tp>::epsilon(); Tp max_abs_diff = -Tp(1); Tp max_abs_frac = -Tp(1); @@ -177,7 +177,7 @@ template<typename Tp> void test003() { - bool test [[gnu::unused]] = true; + bool test __attribute__((unused)) = true; const Tp eps = std::numeric_limits<Tp>::epsilon(); Tp max_abs_diff = -Tp(1); Tp max_abs_frac = -Tp(1); @@ -231,7 +231,7 @@ template<typename Tp> void test004() { - bool test [[gnu::unused]] = true; + bool test __attribute__((unused)) = true; const Tp eps = std::numeric_limits<Tp>::epsilon(); Tp max_abs_diff = -Tp(1); Tp max_abs_frac = -Tp(1); @@ -285,7 +285,7 @@ template<typename Tp> void test005() { - bool test [[gnu::unused]] = true; + bool test __attribute__((unused)) = true; const Tp eps = std::numeric_limits<Tp>::epsilon(); Tp max_abs_diff = -Tp(1); Tp max_abs_frac = -Tp(1); @@ -339,7 +339,7 @@ template<typename Tp> void test006() { - bool test [[gnu::unused]] = true; + bool test __attribute__((unused)) = true; const Tp eps = std::numeric_limits<Tp>::epsilon(); Tp max_abs_diff = -Tp(1); Tp max_abs_frac = -Tp(1); @@ -393,7 +393,7 @@ template<typename Tp> void test007() { - bool test [[gnu::unused]] = true; + bool test __attribute__((unused)) = true; const Tp eps = std::numeric_limits<Tp>::epsilon(); Tp max_abs_diff = -Tp(1); Tp max_abs_frac = -Tp(1); @@ -447,7 +447,7 @@ template<typename Tp> void test008() { - bool test [[gnu::unused]] = true; + bool test __attribute__((unused)) = true; const Tp eps = std::numeric_limits<Tp>::epsilon(); Tp max_abs_diff = -Tp(1); Tp max_abs_frac = -Tp(1); @@ -501,7 +501,7 @@ template<typename Tp> void test009() { - bool test [[gnu::unused]] = true; + bool test __attribute__((unused)) = true; const Tp eps = std::numeric_limits<Tp>::epsilon(); Tp max_abs_diff = -Tp(1); Tp max_abs_frac = -Tp(1); @@ -556,7 +556,7 @@ template<typename Tp> void test010() { - bool test [[gnu::unused]] = true; + bool test __attribute__((unused)) = true; const Tp eps = std::numeric_limits<Tp>::epsilon(); Tp max_abs_diff = -Tp(1); Tp max_abs_frac = -Tp(1); @@ -610,7 +610,7 @@ template<typename Tp> void test011() { - bool test [[gnu::unused]] = true; + bool test __attribute__((unused)) = true; const Tp eps = std::numeric_limits<Tp>::epsilon(); Tp max_abs_diff = -Tp(1); Tp max_abs_frac = -Tp(1); @@ -664,7 +664,7 @@ template<typename Tp> void test012() { - bool test [[gnu::unused]] = true; + bool test __attribute__((unused)) = true; const Tp eps = std::numeric_limits<Tp>::epsilon(); Tp max_abs_diff = -Tp(1); Tp max_abs_frac = -Tp(1); @@ -718,7 +718,7 @@ template<typename Tp> void test013() { - bool test [[gnu::unused]] = true; + bool test __attribute__((unused)) = true; const Tp eps = std::numeric_limits<Tp>::epsilon(); Tp max_abs_diff = -Tp(1); Tp max_abs_frac = -Tp(1); @@ -772,7 +772,7 @@ template<typename Tp> void test014() { - bool test [[gnu::unused]] = true; + bool test __attribute__((unused)) = true; const Tp eps = std::numeric_limits<Tp>::epsilon(); Tp max_abs_diff = -Tp(1); Tp max_abs_frac = -Tp(1); @@ -826,7 +826,7 @@ template<typename Tp> void test015() { - bool test [[gnu::unused]] = true; + bool test __attribute__((unused)) = true; const Tp eps = std::numeric_limits<Tp>::epsilon(); Tp max_abs_diff = -Tp(1); Tp max_abs_frac = -Tp(1); @@ -880,7 +880,7 @@ template<typename Tp> void test016() { - bool test [[gnu::unused]] = true; + bool test __attribute__((unused)) = true; const Tp eps = std::numeric_limits<Tp>::epsilon(); Tp max_abs_diff = -Tp(1); Tp max_abs_frac = -Tp(1); @@ -934,7 +934,7 @@ template<typename Tp> void test017() { - bool test [[gnu::unused]] = true; + bool test __attribute__((unused)) = true; const Tp eps = std::numeric_limits<Tp>::epsilon(); Tp max_abs_diff = -Tp(1); Tp max_abs_frac = -Tp(1); @@ -988,7 +988,7 @@ template<typename Tp> void test018() { - bool test [[gnu::unused]] = true; + bool test __attribute__((unused)) = true; const Tp eps = std::numeric_limits<Tp>::epsilon(); Tp max_abs_diff = -Tp(1); Tp max_abs_frac = -Tp(1); @@ -1042,7 +1042,7 @@ template<typename Tp> void test019() { - bool test [[gnu::unused]] = true; + bool test __attribute__((unused)) = true; const Tp eps = std::numeric_limits<Tp>::epsilon(); Tp max_abs_diff = -Tp(1); Tp max_abs_frac = -Tp(1); @@ -1096,7 +1096,7 @@ template<typename Tp> void test020() { - bool test [[gnu::unused]] = true; + bool test __attribute__((unused)) = true; const Tp eps = std::numeric_limits<Tp>::epsilon(); Tp max_abs_diff = -Tp(1); Tp max_abs_frac = -Tp(1); |