[committed,1/3] libstdc++: Remove redundant xfail selectors in dg-do compile tests
Commit Message
Tested x86_64-linux, pushed to trunk.
An 'xfail' selector means the test is expected to fail at runtime, so is
ignored for a compile-only test. The way to mark a compile-only test as
failing is with dg-error (which these already do).
libstdc++-v3/ChangeLog:
* testsuite/21_strings/basic_string_view/element_access/char/back_constexpr_neg.cc:
Remove xfail selector.
* testsuite/21_strings/basic_string_view/element_access/char/constexpr_neg.cc:
Likewise.
Likewise.
* testsuite/21_strings/basic_string_view/element_access/char/front_constexpr_neg.cc:
Likewise.
* testsuite/21_strings/basic_string_view/element_access/wchar_t/back_constexpr_neg.cc:
Likewise.
* testsuite/21_strings/basic_string_view/element_access/wchar_t/constexpr_neg.cc:
Likewise.
* testsuite/21_strings/basic_string_view/element_access/wchar_t/front_constexpr_neg.cc:
Likewise.
* testsuite/23_containers/span/101411.cc: Likewise.
* testsuite/25_algorithms/copy/debug/constexpr_neg.cc: Likewise.
* testsuite/25_algorithms/copy_backward/debug/constexpr_neg.cc:
Likewise.
* testsuite/25_algorithms/equal/constexpr_neg.cc: Likewise.
* testsuite/25_algorithms/equal/debug/constexpr_neg.cc: Likewise.
* testsuite/25_algorithms/lower_bound/debug/constexpr_partitioned_neg.cc:
Likewise.
* testsuite/25_algorithms/lower_bound/debug/constexpr_partitioned_pred_neg.cc:
Likewise.
* testsuite/25_algorithms/lower_bound/debug/constexpr_valid_range_neg.cc:
Likewise.
* testsuite/25_algorithms/upper_bound/debug/constexpr_partitioned_neg.cc:
Likewise.
* testsuite/25_algorithms/upper_bound/debug/constexpr_partitioned_pred_neg.cc:
Likewise.
* testsuite/25_algorithms/upper_bound/debug/constexpr_valid_range_neg.cc:
Likewise.
---
.../basic_string_view/element_access/char/back_constexpr_neg.cc | 2 +-
.../basic_string_view/element_access/char/constexpr_neg.cc | 2 +-
.../element_access/char/front_constexpr_neg.cc | 2 +-
.../element_access/wchar_t/back_constexpr_neg.cc | 2 +-
.../basic_string_view/element_access/wchar_t/constexpr_neg.cc | 2 +-
.../element_access/wchar_t/front_constexpr_neg.cc | 2 +-
libstdc++-v3/testsuite/23_containers/span/101411.cc | 2 +-
.../testsuite/25_algorithms/copy/debug/constexpr_neg.cc | 2 +-
.../25_algorithms/copy_backward/debug/constexpr_neg.cc | 2 +-
libstdc++-v3/testsuite/25_algorithms/equal/constexpr_neg.cc | 2 +-
.../testsuite/25_algorithms/equal/debug/constexpr_neg.cc | 2 +-
.../lower_bound/debug/constexpr_partitioned_neg.cc | 2 +-
.../lower_bound/debug/constexpr_partitioned_pred_neg.cc | 2 +-
.../lower_bound/debug/constexpr_valid_range_neg.cc | 2 +-
.../upper_bound/debug/constexpr_partitioned_neg.cc | 2 +-
.../upper_bound/debug/constexpr_partitioned_pred_neg.cc | 2 +-
.../upper_bound/debug/constexpr_valid_range_neg.cc | 2 +-
17 files changed, 17 insertions(+), 17 deletions(-)
@@ -16,7 +16,7 @@
// <http://www.gnu.org/licenses/>.
// { dg-options "-D_GLIBCXX_ASSERTIONS" }
-// { dg-do compile { target c++17 xfail *-*-* } }
+// { dg-do compile { target c++17 } }
#include <string_view>
@@ -16,7 +16,7 @@
// <http://www.gnu.org/licenses/>.
// { dg-options "-D_GLIBCXX_ASSERTIONS" }
-// { dg-do compile { target c++17 xfail *-*-* } }
+// { dg-do compile { target c++17 } }
#include <string_view>
@@ -16,7 +16,7 @@
// <http://www.gnu.org/licenses/>.
// { dg-options "-D_GLIBCXX_ASSERTIONS" }
-// { dg-do compile { target c++17 xfail *-*-* } }
+// { dg-do compile { target c++17 } }
#include <string_view>
@@ -16,7 +16,7 @@
// <http://www.gnu.org/licenses/>.
// { dg-options "-D_GLIBCXX_ASSERTIONS" }
-// { dg-do compile { target c++17 xfail *-*-* } }
+// { dg-do compile { target c++17 } }
#include <string_view>
@@ -16,7 +16,7 @@
// <http://www.gnu.org/licenses/>.
// { dg-options "-D_GLIBCXX_ASSERTIONS" }
-// { dg-do compile { target c++17 xfail *-*-* } }
+// { dg-do compile { target c++17 } }
#include <string_view>
@@ -16,7 +16,7 @@
// <http://www.gnu.org/licenses/>.
// { dg-options "-D_GLIBCXX_ASSERTIONS" }
-// { dg-do compile { target c++17 xfail *-*-* } }
+// { dg-do compile { target c++17 } }
#include <string_view>
@@ -1,5 +1,5 @@
// { dg-options "-std=gnu++20" }
-// { dg-do compile { xfail c++20 } }
+// { dg-do compile { target c++20 } }
#include <span>
// PR libstdc++/101411
@@ -16,7 +16,7 @@
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a xfail *-*-* } }
+// { dg-do compile { target c++2a } }
// { dg-require-debug-mode "" }
#include <algorithm>
@@ -16,7 +16,7 @@
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a xfail *-*-* } }
+// { dg-do compile { target c++2a } }
// { dg-require-debug-mode "" }
#include <algorithm>
@@ -16,7 +16,7 @@
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a xfail *-*-* } }
+// { dg-do compile { target c++2a } }
// { dg-require-normal-mode "" }
#include <algorithm>
@@ -16,7 +16,7 @@
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a xfail *-*-* } }
+// { dg-do compile { target c++2a } }
// { dg-require-debug-mode "" }
#include <algorithm>
@@ -16,7 +16,7 @@
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a xfail *-*-* } }
+// { dg-do compile { target c++2a } }
// { dg-require-debug-mode { } }
#include <algorithm>
@@ -16,7 +16,7 @@
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a xfail *-*-* } }
+// { dg-do compile { target c++2a } }
// { dg-require-debug-mode { } }
#include <algorithm>
@@ -16,7 +16,7 @@
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a xfail *-*-* } }
+// { dg-do compile { target c++2a } }
// { dg-require-debug-mode { } }
#include <algorithm>
@@ -16,7 +16,7 @@
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a xfail *-*-* } }
+// { dg-do compile { target c++2a } }
// { dg-require-debug-mode { } }
#include <algorithm>
@@ -16,7 +16,7 @@
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a xfail *-*-* } }
+// { dg-do compile { target c++2a } }
// { dg-require-debug-mode { } }
#include <algorithm>
@@ -16,7 +16,7 @@
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a xfail *-*-* } }
+// { dg-do compile { target c++2a } }
// { dg-require-debug-mode { } }
#include <algorithm>