From patchwork Mon Jan 16 10:29:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 44066 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1118541wrn; Mon, 16 Jan 2023 02:30:34 -0800 (PST) X-Google-Smtp-Source: AMrXdXsHf7WQd2XjvuQoijRK01BDfZeLXHTezZdR2k99t4g0+5htC6AWmtGhwNEgHllTLS1OhZUh X-Received: by 2002:a17:907:8809:b0:870:e329:5f3d with SMTP id ro9-20020a170907880900b00870e3295f3dmr2365827ejc.19.1673865034671; Mon, 16 Jan 2023 02:30:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673865034; cv=none; d=google.com; s=arc-20160816; b=IZuo9zNPZXWnHRBtPT36BiKPr1g/OeNv13Dv1xvAaWwIBzovknh03Vbg+yxlGkgPP9 SVSEl0KFc0LJDxsS6UD3JqveNWG+jS5EQPsc4by1qK+xmXRS/x1/P3jzMG9OreN/MGjJ Nup4n2nXIubDWUQvNS/PGtbcSecBzhD9uTDfihiT1v0IUsuLrkq6XLjwwZGYh8gbF5Q9 0vK4ikYBWTwKyGNNDIuUoGt1HoT0kFyHNxS+sKr2K7UzKIShg8mn44hdi9gtM2KJWSTy LGoOgA2zjEL+QgJ06hmjwMfsii03OzNu1itWT4525CxZpSIJYV/6i6EzCINXZ3SJ7Ip4 Gy8w== 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=k6rwDiC5MjZjpq0pjg9HarQIy00Sb+cbpsV8ft0Qzq4=; b=y1EoQ8yq+K1VkjaIihR4pVuy609WJn/z9W6oDrW99zGt1zYh9QfrtbX5dqOKDOWwFY h+nHnv5BwSlTlSoQbwW3wZboxmKt5niVEt/KHBx2qKLSoCEMqjugUlBnjvZ5N4QYqiIs oBneherossViaS0qwmc9fRrIs3UEbHJkl7M8sSRo1AmHhFqA5e9PRXR8WUdD5/ueZGg9 SuI8VnDY1ZhF1caxc1pdaLGtUGzg1RKT88fZsTbaxsWlT6LFV8vxpgkRydwFmdug8e+I IMNW3XWy2rNzIHEmajOizyi7V5u++1dl6lKqWXSrj2FaeUek9zpw72cSiby7QsPkegqU wQOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=SFKCj74F; 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 (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id nd17-20020a170907629100b007c195fb9e24si31136806ejc.42.2023.01.16.02.30.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 02:30:34 -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=@gcc.gnu.org header.s=default header.b=SFKCj74F; 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 B6D163858C3A for ; Mon, 16 Jan 2023 10:30:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B6D163858C3A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673865033; bh=k6rwDiC5MjZjpq0pjg9HarQIy00Sb+cbpsV8ft0Qzq4=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=SFKCj74FJpilZIUxzpdhnhCbMt0ZZxmUgbW/u+AajKYD+JtcS27PfhURM2XzN4tnn YJufIstznct6AgUwwdb+ZXSivOtJSkF/S1YgMRtLaO/N38LfQSWd0bsJii18wzMD5T 3fLGbDux0I5ZxxwhbwSUDW83FmrZEZ7x+iOwKmm8= 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 F38983858D32 for ; Mon, 16 Jan 2023 10:29:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F38983858D32 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-456-8hn12Sn_Mb-vSdTYAbX1QQ-1; Mon, 16 Jan 2023 05:29:50 -0500 X-MC-Unique: 8hn12Sn_Mb-vSdTYAbX1QQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 45A9029ABA04 for ; Mon, 16 Jan 2023 10:29:50 +0000 (UTC) Received: from localhost (unknown [10.33.36.181]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0EBB740C2064 for ; Mon, 16 Jan 2023 10:29:49 +0000 (UTC) To: gcc-patches@gcc.gnu.org Subject: [committed] doc: Fix grammar typo in description of malloc attribute Date: Mon, 16 Jan 2023 10:29:49 +0000 Message-Id: <20230116102949.10821-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-12.2 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 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?1755174702632751381?= X-GMAIL-MSGID: =?utf-8?q?1755174702632751381?= Committed as obvious. -- >8 -- gcc/ChangeLog: * doc/extend.texi (Common Function Attributes): Fix grammar. --- gcc/doc/extend.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 1103e9936f7..867ef07ea4b 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -3383,7 +3383,7 @@ Attribute @code{malloc} indicates that a function is @code{malloc}-like, i.e., that the pointer @var{P} returned by the function cannot alias any other pointer valid when the function returns, and moreover no pointers to valid objects occur in any storage addressed by @var{P}. In -addition, the GCC predicts that a function with the attribute returns +addition, GCC predicts that a function with the attribute returns non-null in most cases. Independently, the form of the attribute with one or two arguments