libstdc++: Remove redundant xfail selectors in dg-do compile tests
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.
This commit is contained in:
parent
f1ec39c86c
commit
1ecc9ba578
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue