From patchwork Wed Feb 21 19:52:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 204395 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp1261765dyc; Wed, 21 Feb 2024 11:53:03 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVn8nRUauR9Wt7j8kwl3cAJibT/E7XkerSqteOEHItRJMwYed9v2rh+jVMyT7ovmIiyYrF1DUHF8h5ePI8YGRMj3tcTmA== X-Google-Smtp-Source: AGHT+IFDrf/RGhdSFTGk79soPLIXuMYXdtvBizEgWFPObKri7DgsAS7WC1H0goRheWyjyXzroXKb X-Received: by 2002:a0c:9c44:0:b0:68f:417a:4767 with SMTP id w4-20020a0c9c44000000b0068f417a4767mr15637622qve.41.1708545182892; Wed, 21 Feb 2024 11:53:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708545182; cv=pass; d=google.com; s=arc-20160816; b=gAl4IFO+buR8tl1OwHonpv+a3Gdop2BP7nTTPK2uZBBflRrVnq6WVhcv4JJBAI+eGj 9IWDqGOx51GkdmIjIKyJW9qH+c1tspRsoTvHwxju0kZJK+LfZjzX0Lnt9i+uANu3iOwG LUD9iauKhFodH1FoHNsmATT23hq10qqJWO6j0AdbVKGjcwzj+/o6AYHCw98aD+Wi4fpy XhsUGtLElaHS9nYM8pDf6auTYNiT/de79uUKZuwsUBDRD6ZQsTMIJzqEzKQDf1gikLYd jVzUOZff1RjPy+X9xRTPb1WyCMaPsJlMCCOZk+kEOxFgUQu74hZvy4Fpen6TQTdcCaT0 qqlA== 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=KpfJFD+upre/RX28ApJW7pPmbGX6KWVHUWH5NBAl+ho=; fh=hPrbWPhweUx4V0GV9uXJqbyAzg2ABmTz7kczrAQqMmM=; b=J4aCPJ6JLV+SdO2oYvyJ27dcMjyCC769F1U80i5h34Wmbf7+HjIE0kJDjcGvAKzFQV guicJRMWiBrt+YdW7crjaTKPwXH25wl3Lo9AfTEINKx9yKQyFr0y1GQ8XiiiBSQ5lU7V 2Qj4SI8O8pxYZWqvefPOYZ6bV85LKiOHIGBg9/q2cY91Diq0lHxDNUAPMU7yq/cLiGmq oOQGrHY/Bhm5on0h5MBSQEZu7OVfQ4HFEw6NfCFRsIjn/zPsjtDcM5Fiw6qrUT09gGZG EQcRlX58r1ZI3av4e+pIum0KE6BQbZKR9LDKUnK+IS78+MffKsOwuwJ478bOI7UzrvmW daJw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Baqm26oy; 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 jf11-20020a0562142a4b00b0068f8d411539si4493912qvb.464.2024.02.21.11.53.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 11:53:02 -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=Baqm26oy; 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 98AC43858D33 for ; Wed, 21 Feb 2024 19:53:02 +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.133.124]) by sourceware.org (Postfix) with ESMTPS id 6578B3858D20 for ; Wed, 21 Feb 2024 19:52:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6578B3858D20 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 6578B3858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708545142; cv=none; b=JsrcX320EC1HJVTtw1Yodt7ZRWg51n4HzerGj2mc4JY4kKYfM2HSxIOGFbGCEWNP0vxuNofV6dKA620TM83DzoCmEW3V8Tvk7WEzwqSlTBY3f7bf4VQAr2k1WlnHXkcxGPSvxj847h+C6YDLrBT9iyZP/UEGxbFYbJPpxd3UFBk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708545142; c=relaxed/simple; bh=RWVM3SJKmX6NS6ZhOIuQg0mKnT8EgQtfQ6uH7GSxRmA=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=iALir+m+XHtLeFw5jerGrx6nKFVt+KRWKNMHOSOgUgrYomCiwfaRGFGwXfAyq9UYY/oK9SjWfawKOdIp+d2ybCdDocYfxaMuVo0mSaKGilcFtcIdK7JwGvNIpgqtOvGpgAdj7PX7eTHXfFoxzzQsgpMa+4AwBbezSUg0a/vZrqE= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1708545141; 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=KpfJFD+upre/RX28ApJW7pPmbGX6KWVHUWH5NBAl+ho=; b=Baqm26oyxqtVXgugetpe43myPzCA7qgAU4YjV51VB8SyI1ROYqXZrLOAZ73QbacplyEHIN IqRnXwGf6w8lF8AHUUvSkJuXRiRyE8rlIfuhuhuTkycwKineYCHJv562jtJFhVRne7I9mP vj+6Ag3lsVu+nWRuI+q9/OqmXJB8VvQ= 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-650-zlZ5flCRPf631dLVQYaVRw-1; Wed, 21 Feb 2024 14:52:19 -0500 X-MC-Unique: zlZ5flCRPf631dLVQYaVRw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (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 1A397863067 for ; Wed, 21 Feb 2024 19:52:19 +0000 (UTC) Received: from localhost (unknown [10.42.28.206]) by smtp.corp.redhat.com (Postfix) with ESMTP id DB6FB2617 for ; Wed, 21 Feb 2024 19:52:18 +0000 (UTC) From: Jonathan Wakely To: gcc-patches@gcc.gnu.org Subject: [committed] doc: Fix typos in -Wmismatched-dealloc docs Date: Wed, 21 Feb 2024 19:52:09 +0000 Message-ID: <20240221195217.525147-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.1 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_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: 1791539473541109648 X-GMAIL-MSGID: 1791539473541109648 Pushed to trunk as obvious. -- >8 -- gcc/ChangeLog: * doc/invoke.texi (Warning Options): Fix typos. --- gcc/doc/invoke.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index d75b28484bb..b4e4ee9fb81 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -7262,7 +7262,7 @@ when non-existent profile data is justified. @item -Wmismatched-dealloc Warn for calls to deallocation functions with pointer arguments returned -from from allocations functions for which the former isn't a suitable +from allocation functions for which the former isn't a suitable deallocator. A pair of functions can be associated as matching allocators and deallocators by use of attribute @code{malloc}. Unless disabled by the @option{-fno-builtin} option the standard functions @code{calloc},