From patchwork Thu Sep 15 22:58:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 1244 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5044:0:0:0:0:0 with SMTP id h4csp491013wrt; Thu, 15 Sep 2022 15:59:58 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7ZBpFPHiyIzVv49BgEtgDy3QLzyeVDGlptbQv7K0WfyzmFgbheMmSN+BWNn+LOdTqXBcp8 X-Received: by 2002:a05:6402:1a4d:b0:44e:221d:d1dd with SMTP id bf13-20020a0564021a4d00b0044e221dd1ddmr1724476edb.267.1663282798317; Thu, 15 Sep 2022 15:59:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663282798; cv=none; d=google.com; s=arc-20160816; b=OfL9KWa3h2HhPbMagSzV5lFrNr3n8y9pRubEHdcVU74wKscag8MlfryNSfjaxDOycz v+56hE758uNuh+kxAU+JC7uH1TMpkozIiQKMWqLGDHizomRSyaFBYK5NCgzr0wtFqX6j UfebJYXa0dL7KFFuLKVdjPWn8RvF8N7bah208uBEIHMHfdeWU+66WJm/YZ6igCNzoZCW 6Addn5V2mSWBxT2cSRQTpMbM/Nh1KLsioCWLU96xFyuKzXGZlj9NjEcjphozVGvL9d/D brgW11KPLnzjNnUuqElayE0OKv3+C1L33JccgD12fpT+yUnv0t4SkZ+qSx3UKUIHffYq gQpg== 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=rMiz2MVzDR6/I6euPboFiIMkGr8nsY2z7ES5lGAB4d0=; b=eGO5Ib/4NuKk8h9lSmoM27d4iQ/V97h7N5okUELgykqHt8yXfhguGN1uElqVnHVEB5 ITj2JmG31uNnnP52eYXeXxdGI6Xgqb7XNnuZzE1yG+hTqJ89EVN8pTnzrOR/6ZQSSKxJ +OfrAZqEkUVx8lCcfpCAVVm97jgSvhTHoOGNh30kzUs17rG6ozEeEZKRDtP/zodxEsL9 uvZHoX2w1Se56BeM2eD1JFn5NU16m5zp/pXs0aH3p4FYwP561t+XwkVuoRCyEGeOE46B q9wIBEn+i/mqoY8CMKOo3IU/9V2j97Avw99RVY5WOT7pWwU3e/lVA9X8TeSpGkBdn316 gW+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=oSj9x57Y; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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. [8.43.85.97]) by mx.google.com with ESMTPS id hp15-20020a1709073e0f00b0077f009c0f04si9994459ejc.94.2022.09.15.15.59.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Sep 2022 15:59:58 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=oSj9x57Y; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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 718363949F2F for ; Thu, 15 Sep 2022 22:59:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 718363949F2F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663282784; bh=rMiz2MVzDR6/I6euPboFiIMkGr8nsY2z7ES5lGAB4d0=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=oSj9x57YOTuLUPHupYeMzL7LBchzZ+sHEB3rd/bNaN3iOQoZH8kGmJxdGxf5Fzgp8 g8RSb5xhIFOuO8z/L+Sr9W8k+uDI/qoi05cjGTAM8L3HA0NyXhM75QIACHO40PK3CY 7K6v01KnijyeKVaz+oAzqqwkluHsmZc5oLyy6IMg= 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 8B347393BA74 for ; Thu, 15 Sep 2022 22:59:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8B347393BA74 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [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-643-yci-Q1nRNlinMuWqN0h7UQ-1; Thu, 15 Sep 2022 18:58:57 -0400 X-MC-Unique: yci-Q1nRNlinMuWqN0h7UQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id DAF551C068CD; Thu, 15 Sep 2022 22:58:56 +0000 (UTC) Received: from localhost (unknown [10.33.36.214]) by smtp.corp.redhat.com (Postfix) with ESMTP id A247E1121314; Thu, 15 Sep 2022 22:58:56 +0000 (UTC) To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [committed] libstdc++: Remove unnecessary header from Date: Thu, 15 Sep 2022 23:58:56 +0100 Message-Id: <20220915225856.413536-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-12.8 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_LOW, SPF_HELO_NONE, SPF_NONE, TXREP 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?1744078423374170717?= X-GMAIL-MSGID: =?utf-8?q?1744078423374170717?= Tested powerpc64le-linux, pushed to trunk. -- >8 -- Previously included so that std::copy, std::fill etc. could be used by . But that includes it explicitly now, so that it can be compiled as a header unit. There's no need to include it in , where its purpose isn't obvious. libstdc++-v3/ChangeLog: * include/std/memory: Do not include . --- libstdc++-v3/include/std/memory | 1 - 1 file changed, 1 deletion(-) diff --git a/libstdc++-v3/include/std/memory b/libstdc++-v3/include/std/memory index 481fa42a618..20a55020a36 100644 --- a/libstdc++-v3/include/std/memory +++ b/libstdc++-v3/include/std/memory @@ -60,7 +60,6 @@ * Smart pointers, etc. */ -#include #include #include #include