From patchwork Tue Nov 28 12:43:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 170816 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp3951444vqx; Tue, 28 Nov 2023 06:14:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IEJJKJu5TjHE7s2FFf5XzAJx+BlMkI/zCpgVfarMe89rwPddmJpBan3kEvek+xsN7PTDCuZ X-Received: by 2002:a05:6214:176c:b0:67a:33b1:9a78 with SMTP id et12-20020a056214176c00b0067a33b19a78mr8650071qvb.49.1701180867821; Tue, 28 Nov 2023 06:14:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701180867; cv=pass; d=google.com; s=arc-20160816; b=Uw3N3MoJzgdBru6bPDjS7H/vnLjyI6a+lTAD2B5ESaoHg+xxLyV0PhyY51AHwopWth kQtytsohb3gAmRk0q8p8qPbPKiCd7YgMPPQ0t6PNjZ78WFsUJu9JwIcwMbYUs/yor3Qd JqZjZOksSFHOfOJnTAwBDpyzPB6oYj+2I62m9U2qHPOXipD/nenCeMHsiiX7j7VDHgRu RTF2hrH/97MX13xDOsKGjO+x30WP7xmuzLHnJrzeO6eZHdnwGr2h+OBaFpezg7Y81Ivt GNJJDhBLwD7ZqKMHWMsfPn+beLwr6zMWgNAvrUv20VswF/YMrVL1oWoZi+yvHtDI0vgN ZrnA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=0U3yz/JIbschKRHP8teEj91OO2uuiOaUdbQUMgzBRFg=; fh=sJ+2/4g29YdyXkoRrFZSpsL2zxijepB7X/1rB0LDDh8=; b=OvMSKBIQ1OqFkfs82luAsVhgnd59gVelJFq778iV0s76aAgI4iJn4VTmQIYFCaq5Y8 Dr9zldc0WGpH+N2hWrQLPb4tfZ0z8LV3wofiPe7OKc+8BzzTdkTqPH55eZal3i+MJ6ZH VZen8YWCz5IigQiO36gQvaYm71ip300ZYe3zYzmOWV29DtlyIP+tAkb9tQhGbx6lrRC0 Be7zGW2KbWb86VOL+TWpAMVYUW9UicXDccy3X1MxKLa+M/qwy0dmOErVNveECTVwIBFP WU0AniEYrdTVXvMuT9GFd0B3Xf8Iwxy1lXpOMNoAeT4IAQmyYWBWdiPrXXIZSFOaekA3 cdgg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=JDt1E1Hx; arc=pass (i=1); 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=redhat.com Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id bq7-20020a05622a1c0700b0042395051f7bsi2809604qtb.486.2023.11.28.06.14.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 06:14:27 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=JDt1E1Hx; arc=pass (i=1); 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=redhat.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A480538393A9 for ; Tue, 28 Nov 2023 12:44:46 +0000 (GMT) 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 A167C3865C2A for ; Tue, 28 Nov 2023 12:44:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A167C3865C2A Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A167C3865C2A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701175462; cv=none; b=E7jgC3KmAa0CwFlX9sjUa69Gl0khVCVQD/UZLxRUpCDHFAUO11rtgPs/jzxzG2cFJWZssdottZvbGdlLb34+fO8oY2pOifTZU2Q32VLLigfGTYfc/sWgLKQQLUPrd+INGx/NxBWTe+bFKZ2RbQ+ja2fTkjmFW8VnKQ3g8CLQubo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701175462; c=relaxed/simple; bh=jWZzFv2m1ToSrXo0mDxN3qOXgtoD0rrtupugcFBw1FQ=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=MFWWPYQzRXq3+2dhhCifKSXOgZiMpCukDMmLYqZnvCTvPNy65NbDCETEzD8XFqKLlyhGaKryEy1GIFB1o5WdoHMcdSzwxJCbsTybXW7M6R96SqRaoAzcFXh0ovZhSyhZqQ3IGRrN2wAfE70u2MAb2RuRVKvmGp1BnmKhIHE98iM= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701175461; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0U3yz/JIbschKRHP8teEj91OO2uuiOaUdbQUMgzBRFg=; b=JDt1E1Hxc7VbuBYAzvfuDC1iEWKECmD3h938rdwOxef1qrGov7bQ2KuW0RgPeHdAvTwVut 9aPlbTARGWdYK+0D6cDSWLbmVZIIcQYXnBPNyZafYcV5alS89oT0tekH0bx/6+zpsxjSWY 5LJvrsOoDgwcebj5rDggrTDycOiInXA= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-513-HY3Ooqv2NjWQcNMR6naBfw-1; Tue, 28 Nov 2023 07:44:20 -0500 X-MC-Unique: HY3Ooqv2NjWQcNMR6naBfw-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B5FFE891F22; Tue, 28 Nov 2023 12:44:19 +0000 (UTC) Received: from localhost (unknown [10.42.28.72]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4CFD7492BFA; Tue, 28 Nov 2023 12:44:19 +0000 (UTC) From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [committed] libstdc++: Fix typo in comment Date: Tue, 28 Nov 2023 12:43:59 +0000 Message-ID: <20231128124418.2774052-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-11.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_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, 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.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783817429746008165 X-GMAIL-MSGID: 1783817429746008165 Tested x86_64-linux. Pushed to trunk. -- >8 -- libstdc++-v3/ChangeLog: * include/bits/stl_uninitialized.h: Fix typo in comment. --- libstdc++-v3/include/bits/stl_uninitialized.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/include/bits/stl_uninitialized.h b/libstdc++-v3/include/bits/stl_uninitialized.h index a9b802774c6..18bc393641b 100644 --- a/libstdc++-v3/include/bits/stl_uninitialized.h +++ b/libstdc++-v3/include/bits/stl_uninitialized.h @@ -1119,7 +1119,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION #ifdef __cpp_lib_is_constant_evaluated if (std::is_constant_evaluated()) { - // Can't use memcpu. Wrap the pointer so that __relocate_a_1 + // Can't use memcpy. Wrap the pointer so that __relocate_a_1 // resolves to the non-trivial overload above. __gnu_cxx::__normal_iterator<_Tp*, void> __out(__result); __out = std::__relocate_a_1(__first, __last, __out, __alloc);