From patchwork Wed Jul 26 18:11:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 126520 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a985:0:b0:3e4:2afc:c1 with SMTP id t5csp578022vqo; Wed, 26 Jul 2023 11:13:11 -0700 (PDT) X-Google-Smtp-Source: APBJJlECdVr/Bs3SydfcwUzJjH9BisHEcEBAbpbGmHQYSh2ZVu6IFM+HrvWm2Snjxnw9oMlMn2yi X-Received: by 2002:a17:907:2d2b:b0:982:a022:a540 with SMTP id gs43-20020a1709072d2b00b00982a022a540mr358708ejc.11.1690395191286; Wed, 26 Jul 2023 11:13:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690395191; cv=none; d=google.com; s=arc-20160816; b=Z1xDKzTxiBpsSX12gCWr2IiS4nunJ71jgWMQ6k1rIYHNAJnzDmCdwcvZfeylfSp9Ff zEketF7yz3SKuVwaqK28sVb8Wv0zq2e+LV5+CyDhNMq5gmUQISSQig89ycenZ4IQQs0P ezJ6mWrglUq2pe3iPT0O1ahGKgZcZ4OOfkyZ7NFpEYmpwBxPRVbo7i7LyjhOWqtzh/Kx 8Fodr72EBQSLh7EUFcEzDSQ65jQ/4wXNVhEeXuqzrCxPvTzOSGjAp4kxlLi5rA2fGinN TP7DNeDgNRyD9JbYILSZ+JT8SWfgDJd5BlCbly7tzdfWu6viV5AZH6Pd27sG/gFEyMRY B44A== 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:references:in-reply-to :message-id:date:subject:to:dmarc-filter:delivered-to:dkim-signature :dkim-filter; bh=Tbm8jojkI5DOFb7NRznW8dtTho5Gpsc55ZpKchuhJ3I=; fh=sC8lnOfyH6gL5FYlMbZ1VDz6qVPMj/3ViLJWKNUCUgQ=; b=jU+7lj0U/O/LZNPCAl1guJf5YxU+2TsfNANvmXkly+j5ujVJjqcTqWOOVgj1jFVSHN Jsxuo1OXsuFOrIUopADu6IqKr76Fy/Mr2Z0tnqItcb1H98o13d/4iWM55x3a/N9E/KSr M4bcIEd315tl/q22qWhgr+2X+VusM9nLo1YJWdEFpqO406FXJrwrDC9QHxFdyJgePrP7 xrTp2bx0tTBe7wWa/ql4/FqjwyMXeAiOBtwM9VRTbD5zCORdtJIPUcuhPh2ucdChep/P 1cC0P8j1CkwlR+NQVUbVdbxwLqipvB10Ce4wO3jVeqTAflGD6LLJe5avk2otBbnkzWbq MgXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=GtIkXuGV; 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 (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id ko20-20020a170907987400b009930e13a56fsi9051625ejc.346.2023.07.26.11.13.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jul 2023 11:13: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=GtIkXuGV; 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 878D73856092 for ; Wed, 26 Jul 2023 18:12:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 878D73856092 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1690395170; bh=Tbm8jojkI5DOFb7NRznW8dtTho5Gpsc55ZpKchuhJ3I=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=GtIkXuGVPbXmb24SAOZjcfZPfgYq5GeTmlfREsrCdN9jhUecukeo+DBu5lagDkisb U3Vtfoo8UjAUoDgTGXfQiGP9ypS3SALtcL2AWKzAEQIaY9vydD+DxIW91VVDg2m7Bp qszOSjkKhVWhijVvpzwpEQGeGz9W5gFWCaAhkayA= 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.129.124]) by sourceware.org (Postfix) with ESMTPS id 435E53858C52 for ; Wed, 26 Jul 2023 18:12:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 435E53858C52 Received: from mimecast-mx02.redhat.com (66.187.233.73 [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-675-P0WGPAzaNxqzgSM8BReUag-1; Wed, 26 Jul 2023 14:12:06 -0400 X-MC-Unique: P0WGPAzaNxqzgSM8BReUag-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id CA14F3810D3A; Wed, 26 Jul 2023 18:12:05 +0000 (UTC) Received: from localhost (unknown [10.42.28.198]) by smtp.corp.redhat.com (Postfix) with ESMTP id 905EF40C2063; Wed, 26 Jul 2023 18:12:05 +0000 (UTC) To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [committed] libstdc++: Require C++11 for 23_containers/vector/bool/110807.cc [PR110807] Date: Wed, 26 Jul 2023 19:11:47 +0100 Message-ID: <20230726181204.229512-1-jwakely@redhat.com> In-Reply-To: <20230726160344.220228-1-jwakely@redhat.com> References: <20230726160344.220228-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE, URI_HEX autolearn=ham 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: INBOX X-GMAIL-THRID: 1772507827751580957 X-GMAIL-MSGID: 1772507827751580957 Pushed to trunk. -- >8 -- This new test uses uniform initialization syntax, so requires C++11 or later. libstdc++-v3/ChangeLog: PR libstdc++/110807 * testsuite/23_containers/vector/bool/110807.cc: Require c++11. --- libstdc++-v3/testsuite/23_containers/vector/bool/110807.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/testsuite/23_containers/vector/bool/110807.cc b/libstdc++-v3/testsuite/23_containers/vector/bool/110807.cc index 5c019bd9524..2e9d4019edb 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/bool/110807.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/bool/110807.cc @@ -1,5 +1,5 @@ // { dg-options "-O2" } -// { dg-do compile } +// { dg-do compile { target c++11 } } // Bug 110807 // Copy list initialisation of a vector raises a warning with -O2