From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id 5F80D3858024; Fri, 26 Nov 2021 12:52:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5F80D3858024 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jonathan Wakely To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r10-10298] libstdc++: Skip failing std::array test for debug mode X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/releases/gcc-10 X-Git-Oldrev: cdc0a310817a8a3a6d038a51c52696c2aa1405fb X-Git-Newrev: 5b4d29b50d5d15c6bbc17cf9a74f668f6dd79b90 Message-Id: <20211126125252.5F80D3858024@sourceware.org> Date: Fri, 26 Nov 2021 12:52:52 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2021 12:52:52 -0000 https://gcc.gnu.org/g:5b4d29b50d5d15c6bbc17cf9a74f668f6dd79b90 commit r10-10298-g5b4d29b50d5d15c6bbc17cf9a74f668f6dd79b90 Author: Jonathan Wakely 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 #include