From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id CF229385828E; Tue, 4 Oct 2022 14:07:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CF229385828E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664892434; bh=xJyCHHDb0vHWDUmB/UIoZ7FXgHDyTE/9N6kgImiIw/s=; h=From:To:Subject:Date:From; b=O0dvTkejUTnLTLKy9IwBxZ5GDULttSRPOwUx3hRbDPnRtJWAjpLn951j5vpCHqKdP zhXwKqPRX+Fkaoc4lkuVvlWGSBfeydT8ZUjCgoAbQWVcK3kyVS+CotKzQqt8AxtO9A rsFK0C/23WxP2sjOejjcTeqUWgb/y2S8UNGg0Lr4= 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 r13-3061] libstdc++: Disable test for freestanding X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/master X-Git-Oldrev: b74ab7a1609f01afaab9b82cfabfb96ae9e1145d X-Git-Newrev: beeb6898fe8ad44731bc58cad7220511b8225797 Message-Id: <20221004140714.CF229385828E@sourceware.org> Date: Tue, 4 Oct 2022 14:07:14 +0000 (GMT) List-Id: https://gcc.gnu.org/g:beeb6898fe8ad44731bc58cad7220511b8225797 commit r13-3061-gbeeb6898fe8ad44731bc58cad7220511b8225797 Author: Jonathan Wakely Date: Tue Oct 4 14:18:07 2022 +0100 libstdc++: Disable test for freestanding This test checks the exception-safety of std::stable_sort if copying a value throws. For freestanding we don't allocate in std::stable_sort anyway, and the exception thrown via __throw_runtime_error terminates, so disable the test. libstdc++-v3/ChangeLog: * testsuite/25_algorithms/stable_sort/mem_check.cc: Do nto run for freestanding. Diff: --- libstdc++-v3/testsuite/25_algorithms/stable_sort/mem_check.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libstdc++-v3/testsuite/25_algorithms/stable_sort/mem_check.cc b/libstdc++-v3/testsuite/25_algorithms/stable_sort/mem_check.cc index d1f76906890..9dde4fb2b38 100644 --- a/libstdc++-v3/testsuite/25_algorithms/stable_sort/mem_check.cc +++ b/libstdc++-v3/testsuite/25_algorithms/stable_sort/mem_check.cc @@ -15,6 +15,8 @@ // with this library; see the file COPYING3. If not see // . +// { dg-require-effective-target hosted } + // 25.3.1.2 [lib.stable.sort] #include