From patchwork Thu Feb 8 21:49:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 198600 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp473420dyd; Thu, 8 Feb 2024 13:52:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVHi8Q//vCI11cFewdeJbVI31Az1Pj/g3vWWlDVPUi4I16s/Mbkajip5L5IQM8fmFH3P+xNe69msdJgVK3zdL6MHzul3w== X-Google-Smtp-Source: AGHT+IHRa31ILbWDWhq0/MxxRYZTl013qMCop1xRO5lTnImUru+aejmbVCdp38JMi6KMPytKGP+g X-Received: by 2002:a1f:4a44:0:b0:4bd:58d0:c892 with SMTP id x65-20020a1f4a44000000b004bd58d0c892mr881605vka.7.1707429147949; Thu, 08 Feb 2024 13:52:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707429147; cv=pass; d=google.com; s=arc-20160816; b=DH2Vyk5yPi35yoFPZbQeleEOrtKjwj9mP2vM2KYrAgdclfDM2Dgxb02rSF7prn2QXK kY7rOxN/zMBrNEdEHa/F0XkpT9UBmL7JP836maoYBH3SYC6RHhAlHJPuMgaBeQAS31y4 dz9ovKkOKvgNK5I4ULUshhkmumCcsY5wLtNvFh+VrwGioKphsvnxf8KxyIa6UOVd5FBh +WTVUvpLO2aHxbcnTyaDpxF3wRt0ewzWgfR3zP5vH80eoUlivctn8CR2ZXVTrsRzhheQ /iUXS62YYIE2AV6oSSTGFI4YhN04sMI4rHCuquK7xt0po4dVe9VAbz6g/p/To/Suyhnn 1A8A== 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=vLNvOr/2W4hRHhXqNTx06EAfn7M7wTHLQ07DInU6LVU=; fh=N20XPOk1FuNnrmnqHscUC/WasMY5798AvK1NhtboIcY=; b=sTxPd08dOEPhthlG4qaQrgp05M+ShC75A4Nvmfybgb7bkZbjmGsPmVDCqtkKNwWWLn dx68TXDYJKuE/AFT6XMdnBo71smNrLq1fp/oqSsxsI763DkuyoXeIAEeT7XkwZEltdL2 0J0rHUTY+B5m610tSidnh6WuuI+d65u8vn5uxNYQ2xD4BXohn8yKMsCp04OdVQtC9HrC Aiw1jzaHfDTMHxNOo9lo2nhhOjVwDzxVamW+1iHuQhNbspBejoWNnx1E2k84v0R/BWjn XX+K9AQIK61SLIXG8BlskwemlFdAVg5qztZOuHgski3wHREonRMYdu5fIayoD7dUQUJK 2MmA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=i7PLJlMD; arc=pass (i=1); 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=redhat.com X-Forwarded-Encrypted: i=2; AJvYcCVghFrqgH+2oFEszcspulc4PohXtel6EJRfoWTp6fqw4uBgogPwvLztmxjYsA3HEsDljzoxhb7YeV0edwj1IjDekpVTAg== Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id x3-20020ae9e903000000b007859647c017si524464qkf.501.2024.02.08.13.52.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 13:52:27 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=i7PLJlMD; arc=pass (i=1); 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=redhat.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 904A2385841C for ; Thu, 8 Feb 2024 21:52:27 +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 DC6E33858404 for ; Thu, 8 Feb 2024 21:49:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DC6E33858404 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 DC6E33858404 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=1707428991; cv=none; b=nysKMuzOp7tyJ4+YOAEm786F3Qi9ts3s8Jj039GGXGh5xxnzTTosCsNXihAi1KTWQqdzTZK6SGkidAeJsV4Nkmok2gh7CDoFvtocvrFvk5h5VAFSAzuUWTTO3Mfh9EPYW5kjIBEZeocW36rZ6zq0X0WvLT3/GkCmw+/+9KHEvTs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707428991; c=relaxed/simple; bh=/k4QXXQPu1wfAF73WhG21zwAXqLxqz2Dx3ZQx8FtkIo=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=GgC6dxKwfxZw347gCHI2DR3tFjLmHetmLetTwWLl5lH55IY0r76QI5hEVzY498kCuzqhGO2eTikg4xDo/aiYRWmV+3sor6ZUd50r6RRKT9kwyEXi7g8SRXcD9WJf9cTlBhR6gLzheTn9KtqbVAftgNROa7UXwEW0UgLNzHruY00= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1707428981; 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=vLNvOr/2W4hRHhXqNTx06EAfn7M7wTHLQ07DInU6LVU=; b=i7PLJlMD8xvlP0PCgSOUv6b2+TM283eNLFtklkvtyNCwVn7cVcqDnoIA1ZWOjV4GsDiNrI 0mBlGkhLS2cy7a/UkwLchpDVJwRsOm4YEHszSVeRg1NPPTTmewr/q0CEoF2UTR+DVLnTxX 99J+esc40iO3pKjwReVyJlWcMaAo16w= 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-425-Sfo_076sPZydKpFn1VWJ1w-1; Thu, 08 Feb 2024 16:49:38 -0500 X-MC-Unique: Sfo_076sPZydKpFn1VWJ1w-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (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 493D384ACA3; Thu, 8 Feb 2024 21:49:38 +0000 (UTC) Received: from localhost (unknown [10.42.28.13]) by smtp.corp.redhat.com (Postfix) with ESMTP id 178352026D06; Thu, 8 Feb 2024 21:49:38 +0000 (UTC) From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [committed] libstdc++: Fix comment typo in std::atomic> Date: Thu, 8 Feb 2024 21:49:34 +0000 Message-ID: <20240208214937.2737811-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-11.9 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_H2, 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: 1790369225955121063 X-GMAIL-MSGID: 1790369225955121063 Tested aarch64-linux. Pushed to trunk. -- >8 -- libstdc++-v3/ChangeLog: * include/bits/shared_ptr_atomic.h: Fix typo in comment. --- libstdc++-v3/include/bits/shared_ptr_atomic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/include/bits/shared_ptr_atomic.h b/libstdc++-v3/include/bits/shared_ptr_atomic.h index 58aea96492e..1403c6a17c5 100644 --- a/libstdc++-v3/include/bits/shared_ptr_atomic.h +++ b/libstdc++-v3/include/bits/shared_ptr_atomic.h @@ -557,7 +557,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { __glibcxx_assert(__o != memory_order_release && __o != memory_order_acq_rel); - // Ensure that the correct value of _M_ptr is visible after locking., + // Ensure that the correct value of _M_ptr is visible after locking, // by upgrading relaxed or consume to acquire. if (__o != memory_order_seq_cst) __o = memory_order_acquire;