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: 86194 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6F75F385840B for ; Wed, 21 Feb 2024 19:52:50 +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+patchwork=sourceware.org@gcc.gnu.org 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},