diff mbox series

[committed] libstdc++: Skip failing std::array test for debug mode

Message ID 20211126125604.1663934-1-jwakely@redhat.com
State Committed
Headers show
Series [committed] libstdc++: Skip failing std::array test for debug mode | expand

Commit Message

Jonathan Wakely Nov. 26, 2021, 12:56 p.m. UTC
Tested powerpc64le-linux, pushed to gcc-10.


The __gnu_debug::array type isn't three-way comparable in constant
expressions. The __gnu-debug::array type has been removed in gcc-11
anyway, so just skip the test rather than fixing it.

libstdc++-v3/ChangeLog:

	* testsuite/23_containers/array/comparison_operators/96851.cc:
	Skip test in debug mode.
---
 .../testsuite/23_containers/array/comparison_operators/96851.cc  | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libstdc++-v3/testsuite/23_containers/array/comparison_operators/96851.cc b/libstdc++-v3/testsuite/23_containers/array/comparison_operators/96851.cc
index b2a464b8f68..96d6e94d5ae 100644
--- a/libstdc++-v3/testsuite/23_containers/array/comparison_operators/96851.cc
+++ b/libstdc++-v3/testsuite/23_containers/array/comparison_operators/96851.cc
@@ -17,6 +17,7 @@ 
 
 // { dg-options "-std=gnu++2a" }
 // { dg-do run { target c++2a } }
+// { dg-require-normal-mode "" }
 
 #include <array>
 #include <testsuite_hooks.h>