Disable tests that only pass for GNU dialects
authorJonathan Wakely <jwakely@redhat.com>
Fri, 19 Oct 2018 21:49:32 +0000 (22:49 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 19 Oct 2018 21:49:32 +0000 (22:49 +0100)
The airy and hypergeometric functions are non-standard extensions and
are only defined for -std=gnu++NN dialects, not -std=c++NN ones.

* ext/special_functions/airy_ai/check_nan.cc: Skip test for
non-standard extension when a strict -std=c++NN dialect is used.
* ext/special_functions/airy_ai/check_value.cc: Likewise.
* ext/special_functions/airy_ai/compile.cc: Likewise.
* ext/special_functions/airy_bi/check_nan.cc: Likewise.
* ext/special_functions/airy_bi/check_value.cc: Likewise.
* ext/special_functions/airy_bi/compile.cc: Likewise.
* ext/special_functions/conf_hyperg/check_nan.cc: Likewise.
* ext/special_functions/conf_hyperg/check_value.cc: Likewise.
* ext/special_functions/conf_hyperg/compile.cc: Likewise.
* ext/special_functions/hyperg/check_nan.cc: Likewise.
* ext/special_functions/hyperg/check_value.cc: Likewise.
* ext/special_functions/hyperg/compile.cc: Likewise.

From-SVN: r265330

13 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/ext/special_functions/airy_ai/check_nan.cc
libstdc++-v3/testsuite/ext/special_functions/airy_ai/check_value.cc
libstdc++-v3/testsuite/ext/special_functions/airy_ai/compile.cc
libstdc++-v3/testsuite/ext/special_functions/airy_bi/check_nan.cc
libstdc++-v3/testsuite/ext/special_functions/airy_bi/check_value.cc
libstdc++-v3/testsuite/ext/special_functions/airy_bi/compile.cc
libstdc++-v3/testsuite/ext/special_functions/conf_hyperg/check_nan.cc
libstdc++-v3/testsuite/ext/special_functions/conf_hyperg/check_value.cc
libstdc++-v3/testsuite/ext/special_functions/conf_hyperg/compile.cc
libstdc++-v3/testsuite/ext/special_functions/hyperg/check_nan.cc
libstdc++-v3/testsuite/ext/special_functions/hyperg/check_value.cc
libstdc++-v3/testsuite/ext/special_functions/hyperg/compile.cc

index ee7823ad8f4ee0327b6cc54824131e7cad780f2a..a3a961161bc2d425adc15de5a0b0c0ab10f54cc8 100644 (file)
@@ -1,5 +1,19 @@
 2018-10-19  Jonathan Wakely  <jwakely@redhat.com>
 
+       * ext/special_functions/airy_ai/check_nan.cc: Skip test for
+       non-standard extension when a strict -std=c++NN dialect is used.
+       * ext/special_functions/airy_ai/check_value.cc: Likewise.
+       * ext/special_functions/airy_ai/compile.cc: Likewise.
+       * ext/special_functions/airy_bi/check_nan.cc: Likewise.
+       * ext/special_functions/airy_bi/check_value.cc: Likewise.
+       * ext/special_functions/airy_bi/compile.cc: Likewise.
+       * ext/special_functions/conf_hyperg/check_nan.cc: Likewise.
+       * ext/special_functions/conf_hyperg/check_value.cc: Likewise.
+       * ext/special_functions/conf_hyperg/compile.cc: Likewise.
+       * ext/special_functions/hyperg/check_nan.cc: Likewise.
+       * ext/special_functions/hyperg/check_value.cc: Likewise.
+       * ext/special_functions/hyperg/compile.cc: Likewise.
+
        * testsuite/23_containers/list/requirements/explicit_instantiation/
        5_c++0x.cc: Remove redundant test that is functionally identical to
        the 5.cc test.
index c5473a35aeaea29058d48e1a90e4d34902f03b0c..563bf891b8d7f45594c6ce2593d5a655acc76798 100644 (file)
@@ -2,6 +2,7 @@
 // { dg-require-c-std "" }
 // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" }
 // { dg-add-options ieee }
+// { dg-skip-if "no extensions in strict dialects" { *-*-* } { "-std=c++*" } }
 
 // Copyright (C) 2016-2018 Free Software Foundation, Inc.
 //
index 8c4c5362b866638715f614a97983b614670ba23c..e92267bfffa5ff9fd8b18a5d5564afc7d157a887 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do run { target c++11 } }
 // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" }
+// { dg-skip-if "no extensions in strict dialects" { *-*-* } { "-std=c++*" } }
 //
 // Copyright (C) 2016-2018 Free Software Foundation, Inc.
 //
index a4d5006dafced78390d77ec217245d7a621d9b0e..581701a6baef4cecd2a3518c205584ef93138844 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do compile { target c++11 } }
 // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" }
+// { dg-skip-if "no extensions in strict dialects" { *-*-* } { "-std=c++*" } }
 
 // Copyright (C) 2016-2018 Free Software Foundation, Inc.
 //
index 4b852882b0bb7de85e7ac0d855ab93b1ac67d6ee..076496033567fdd56b4d0b77d737f05e8db6c984 100644 (file)
@@ -2,6 +2,7 @@
 // { dg-require-c-std "" }
 // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" }
 // { dg-add-options ieee }
+// { dg-skip-if "no extensions in strict dialects" { *-*-* } { "-std=c++*" } }
 
 // Copyright (C) 2016-2018 Free Software Foundation, Inc.
 //
index d830fbf8aa5edf65b97d8c61c34d1a61fb56fb97..d10c6c5f15cefa4ed43e2e104dd3388885f4b40f 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do run { target c++11 } }
 // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" }
+// { dg-skip-if "no extensions in strict dialects" { *-*-* } { "-std=c++*" } }
 //
 // Copyright (C) 2016-2018 Free Software Foundation, Inc.
 //
index 727b809974de4a4588859ee0009b84b4f1b43ecb..872bc795903e19cedd15dd25d193372ed28e64b1 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do compile { target c++11 } }
 // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" }
+// { dg-skip-if "no extensions in strict dialects" { *-*-* } { "-std=c++*" } }
 
 // Copyright (C) 2016-2018 Free Software Foundation, Inc.
 //
index 0da38b158c13151c200c11da18f12dbaef353b57..4e853413fa1aac9ea8f4e3201426f6525b022a64 100644 (file)
@@ -2,6 +2,7 @@
 // { dg-require-c-std "" }
 // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" }
 // { dg-add-options ieee }
+// { dg-skip-if "no extensions in strict dialects" { *-*-* } { "-std=c++*" } }
 
 // Copyright (C) 2016-2018 Free Software Foundation, Inc.
 //
index 1b6785e09b98efa89d27acdceee3694a07ebd16e..fcd673f61e7eb09f94dc2c8fa3142beafb64066d 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do run { target c++11 } }
 // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" }
+// { dg-skip-if "no extensions in strict dialects" { *-*-* } { "-std=c++*" } }
 //
 // Copyright (C) 2016-2018 Free Software Foundation, Inc.
 //
index 1a19fe558541fdd9bb247682fe14a815997e9d58..c5064edd59ddd155098ac4dedc234dae7d472136 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do compile { target c++11 } }
 // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" }
+// { dg-skip-if "no extensions in strict dialects" { *-*-* } { "-std=c++*" } }
 
 // Copyright (C) 2016-2018 Free Software Foundation, Inc.
 //
index ee3b679ce9b103b925e569604aa9975c66c468f2..b974bd38860a9de89318dd57801191251fce87fa 100644 (file)
@@ -2,6 +2,7 @@
 // { dg-require-c-std "" }
 // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" }
 // { dg-add-options ieee }
+// { dg-skip-if "no extensions in strict dialects" { *-*-* } { "-std=c++*" } }
 
 // Copyright (C) 2016-2018 Free Software Foundation, Inc.
 //
index 7c9078134257ce8f9f312f42b476bb70d8247fe1..4f848e614caae40173a1d5a6b40d07e1dd5562e0 100644 (file)
@@ -1,6 +1,7 @@
 // { dg-do run { target c++11 } }
 // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__ -ffp-contract=off" }
 // { dg-additional-options "-ffloat-store" { target { m68*-*-* || ia32 } } }
+// { dg-skip-if "no extensions in strict dialects" { *-*-* } { "-std=c++*" } }
 //
 // Copyright (C) 2016-2018 Free Software Foundation, Inc.
 //
index bcf7bffdd666c5bb72ca00796d51cc7b50d3a611..35ac1c1c7190779ef9ed1722518a257852b421fa 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do compile { target c++11 } }
 // { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" }
+// { dg-skip-if "no extensions in strict dialects" { *-*-* } { "-std=c++*" } }
 
 // Copyright (C) 2016-2018 Free Software Foundation, Inc.
 //