public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r10-10298] libstdc++: Skip failing std::array test for debug mode
@ 2021-11-26 12:52 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2021-11-26 12:52 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:5b4d29b50d5d15c6bbc17cf9a74f668f6dd79b90

commit r10-10298-g5b4d29b50d5d15c6bbc17cf9a74f668f6dd79b90
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Fri Nov 26 11:53:27 2021 +0000

    libstdc++: Skip failing std::array test for debug mode
    
    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.

Diff:
---
 libstdc++-v3/testsuite/23_containers/array/comparison_operators/96851.cc | 1 +
 1 file changed, 1 insertion(+)

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>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-26 12:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-26 12:52 [gcc r10-10298] libstdc++: Skip failing std::array test for debug mode Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).