From patchwork Wed Sep 14 22:04:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 1224 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2302:b0:79:6ae5:3758 with SMTP id gv2csp954218dyb; Wed, 14 Sep 2022 15:05:59 -0700 (PDT) X-Google-Smtp-Source: AA6agR6cXVztv/gFi2KSMBdPbCmhpE1px822cIPB77826gxWfBD7V5i7hFi1dGnqHHE9bI4FDGcD X-Received: by 2002:a05:6402:f11:b0:44f:e1ff:801a with SMTP id i17-20020a0564020f1100b0044fe1ff801amr28753275eda.109.1663193159300; Wed, 14 Sep 2022 15:05:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663193159; cv=none; d=google.com; s=arc-20160816; b=jmgdCpiTS8yXoFBYPzF21DEkmtJvZOapW4bJKfjdO7GRR7d2ZJUYFQVuhC9+dEP6To EtU1TrcwqFIuum8pq3mnAJeCIG71hkX0At7yRuHnqpW+7NM21pFHIR7uS+1oXlcrgrzM 7TbOJVXmweM7+KuzXOhaw1ojtd5vLe4Vc/w5onLWi0dJRVf37PZM/Ye/kvVo9WhjR9Oc rHLF9bRY+1L09f6YamZx9Tm+oCv0B70FVUVwYOLwcB1mNjJTVxVbaZBXDwA4OIIKnB9J +HE6/iICsv/RCtXkGP7TnnVDeqI+ZcQxXaccIWO7S1glyD3pG47cwCKWl/gC5LV5FPO9 l78Q== 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=MIfI4tMqMqeX9cszqAQZhYiKsLf6LXGZTkXMQS9tWZk=; b=0U/7mIj2qN1UHWqKwpOio2aiuEwcZIEmPp5BUiAAJB3AQQZFmjhq9/NPTrGHnTHQK1 Q7iMAV1HqWn5Pp4cPegbF5D7sfsvmkUevSrJk5bQBWKRwcquz+QQI5N0LtWmgElCRO9z E1mRLnfhsB0JANXIMq/TUjVVX1/lU8AxrNrZWTprZNP6B/2cHmwCsvKWf/rC556f/4// q8yABVFvYDzrqzTXbSkMXBECLrPPEAYFXSPsAHQFU0jB7gP1ND6Y+3/pBn+aLYt51WUb C8nwEgHScuA9ozeMStB1pv1fTjcUs91nXW+X4+Uawpu6nyx9qn1+VBFz+eik2n03+uOg 9Bfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=pheC3h25; 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 (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id ay25-20020a056402203900b004505bf284d6si11432260edb.366.2022.09.14.15.05.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Sep 2022 15:05:59 -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=pheC3h25; 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 1729E383EC5C for ; Wed, 14 Sep 2022 22:05:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1729E383EC5C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663193123; bh=MIfI4tMqMqeX9cszqAQZhYiKsLf6LXGZTkXMQS9tWZk=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=pheC3h25mWYem0pQ4SAyT+CMBkXKHZ5Gygi0nO6sk9BQ5Us9oiQrGKE9iilPQpgrz vcYtQIHB3xM0yuPwk03xtestbaCzhF3/fLOeRUOlQjFloPSc7ilmQMJOQurC7VHfac H916CUSHpJXFrLuVkRv4AStJc72P/u+iSyb5Bga4= 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 E2364385780E for ; Wed, 14 Sep 2022 22:04:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E2364385780E 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-520-QK8fj9YQPbSGeouUFhizzA-1; Wed, 14 Sep 2022 18:04:36 -0400 X-MC-Unique: QK8fj9YQPbSGeouUFhizzA-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 31CDF294EDF0; Wed, 14 Sep 2022 22:04:36 +0000 (UTC) Received: from localhost (unknown [10.33.36.214]) by smtp.corp.redhat.com (Postfix) with ESMTP id EE8352027061; Wed, 14 Sep 2022 22:04:35 +0000 (UTC) To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [committed] libstdc++: Add missing header to Date: Wed, 14 Sep 2022 23:04:35 +0100 Message-Id: <20220914220435.276306-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 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, T_SCC_BODY_TEXT_LINE 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1743984430495137781?= X-GMAIL-MSGID: =?utf-8?q?1743984430495137781?= Tested powerpc64le-linux, pushed to trunk. -- >8 -- This is needed for std::nothrow and the nothrow operator new overload, so should be included explicitly. libstdc++-v3/ChangeLog: * include/bits/stl_tempbuf.h: Include . --- libstdc++-v3/include/bits/stl_tempbuf.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libstdc++-v3/include/bits/stl_tempbuf.h b/libstdc++-v3/include/bits/stl_tempbuf.h index db7cdb14ca9..82f2dc8055f 100644 --- a/libstdc++-v3/include/bits/stl_tempbuf.h +++ b/libstdc++-v3/include/bits/stl_tempbuf.h @@ -56,6 +56,7 @@ #ifndef _STL_TEMPBUF_H #define _STL_TEMPBUF_H 1 +#include #include #include