From patchwork Fri May 12 13:44:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 93209 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp5118887vqo; Fri, 12 May 2023 06:47:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7j2850ecxfsF5ktC/YTDKYmFPJ/MJVZnZqczbXqiAD8DUvEgmcJPkoMaCU7YIs/7PFClVo X-Received: by 2002:a17:907:7b98:b0:947:55ad:dd00 with SMTP id ne24-20020a1709077b9800b0094755addd00mr24432670ejc.26.1683899231030; Fri, 12 May 2023 06:47:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683899231; cv=none; d=google.com; s=arc-20160816; b=YJSMSG3KRpo617FDaKNWg13OBwQ07KQDpRTHSiadFJ1RgEMlPZLCyx9d3N3NQOQJB0 TtFq6M99f8c0ee35Df6fIgm9mqbMkGAFRuxLOZP38EHCBAq2f7O4qsWhBSd8S9QUHQUV E45OGkxjqIkllkOVxgsAwU5YOisluq7P5TAnGMFsDS3Z8ZJWsB6NrydP2fEPAJ/1dV28 oYcRTunw4T6h9RCPkPCTYCRwND/yNkd7gT97Nwf+X98DFwmLreRNcYlwo2hlFoxOKOx3 ba6dEv/ScWfhFH4YZzkA/PlmR/kMs4TlSeHB2dXT35MWDivvseoGyq4RCT72+3rgbrCQ pRug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:to :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=JBkuR9WcYCFIRfAABbWPvuV78z/UKGf0QpiJSztGrJs=; b=YifeKd2MKHJjib/74HLfTLTEW1R9XoaUQV70atykn7ttLGbIHH+fPQPSq+lyRB2hF+ uc2hetpiUaWTIN75F3eqXYEaL6kk3LbrsDm0MUfYuu3QWcyWQFvE9TLe/EK/RDy5KtDS N2lKCx5tZDcu/vjMksprpntZs6hkzX/YvaGppxYImJResEMyMk5htM8Y59CZjp/00IIx qGKdOggf9P4d2F3/ZhOp8zGOlKyYzE4fiGSLio4h2SUyw8NfksmQhToYds454w26Is3G ASPVxCL4kFJpnqESmEr04usPj7u84l+e4E/oW6amgC/3/KmDmfDOZXoFCfiUalK4C6ec OoiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=AWk3jrUz; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id m11-20020a170906160b00b00965c39212ffsi7033786ejd.973.2023.05.12.06.47.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 May 2023 06:47:11 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=AWk3jrUz; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 33C81386D62A for ; Fri, 12 May 2023 13:45:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 33C81386D62A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683899157; bh=JBkuR9WcYCFIRfAABbWPvuV78z/UKGf0QpiJSztGrJs=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=AWk3jrUzBdLs80cY/+pgu28gslnhmdc+jlkZNzkSX57AWArKis37bOmLE1/eTJx3Z fGnUMtFIKfdHaPabzIVdP9Mix8LEWlii8J1lGn877+eQvJeG3F1Rv7+NNBZ5fZtTUx hEKnkG44z7TvWPt7SgKe+Qw+QcgwjAXCQWQEdwQQ= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 8332D385415F for ; Fri, 12 May 2023 13:44:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8332D385415F Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-674-vlRcPZYIOs-zT4s07sxUUw-1; Fri, 12 May 2023 09:44:40 -0400 X-MC-Unique: vlRcPZYIOs-zT4s07sxUUw-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D2E6F857E06; Fri, 12 May 2023 13:44:39 +0000 (UTC) Received: from localhost (unknown [10.42.28.178]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9C0FF401068; Fri, 12 May 2023 13:44:39 +0000 (UTC) To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [committed] libstdc++: Remove test dependency on _GLIBCXX_USE_C99_STDINT_TR1 Date: Fri, 12 May 2023 14:44:39 +0100 Message-Id: <20230512134439.1291794-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-11.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jonathan Wakely via Gcc-patches From: Jonathan Wakely Reply-To: Jonathan Wakely Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765696319798777192?= X-GMAIL-MSGID: =?utf-8?q?1765696319798777192?= Tested x86_64-linux. Pushed to trunk. -- >8 -- This should have been done in r9-2028-g8ba7f29e3dd064 when std::shared_mutex was changed to be defined without depending on _GLIBCXX_USE_C99_STDINT_TR1. libstdc++-v3/ChangeLog: * testsuite/experimental/feat-cxx14.cc: Remove dependency on _GLIBCXX_USE_C99_STDINT_TR1. --- libstdc++-v3/testsuite/experimental/feat-cxx14.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/testsuite/experimental/feat-cxx14.cc b/libstdc++-v3/testsuite/experimental/feat-cxx14.cc index 8c0061eddbf..effe382e06e 100644 --- a/libstdc++-v3/testsuite/experimental/feat-cxx14.cc +++ b/libstdc++-v3/testsuite/experimental/feat-cxx14.cc @@ -107,7 +107,7 @@ # error "" #endif -#if defined(_GLIBCXX_HAS_GTHREADS) && defined(_GLIBCXX_USE_C99_STDINT_TR1) +#if defined(_GLIBCXX_HAS_GTHREADS) # ifndef __cpp_lib_shared_timed_mutex # error "__cpp_lib_shared_timed_mutex" # elif __cpp_lib_shared_timed_mutex != 201402