From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eastern.birch.relay.mailchannels.net (eastern.birch.relay.mailchannels.net [23.83.209.55]) by sourceware.org (Postfix) with ESMTPS id 0ED89384D3EE for ; Thu, 15 Dec 2022 17:21:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0ED89384D3EE Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gotplt.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gotplt.org X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 096858C1C1A; Thu, 15 Dec 2022 17:21:24 +0000 (UTC) Received: from pdx1-sub0-mail-a306.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 9646B8C1B34; Thu, 15 Dec 2022 17:21:23 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1671124883; a=rsa-sha256; cv=none; b=clkyBJmlcJuUpTeAJ7betAkK3XHJ66El5Ls4/s1VspfxnZvp4350+Lc7lzur3dMgk3jioK HXKoHqdNgv7MVKDIHMVFmq5sGj37EdkV06w+AFCDe57ImELAIfBcLntPOZn6oppL7mYd84 GnNFiZRpV/c2ObX+FmyxIyLKU8c2QqU9k5KfK0Fc/ZxBw9P4RiiByUxKZFfvx9D1J+EK1Q vjKzxvQTNTcCIEm14wJKbpQ0zyxx+uHxmll3ERs5uUKSjihV61oYf0dzRKVI5ngRJxPdc2 H9YiM+GcZz8MGTVsR1iMYuODQEgCiHDKMVCNav18L6uxTRlfFSYnMHO7ijCgEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1671124883; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=8/HnKn2KmhLYntGpCz4akp2pKfz2VE9n6qkKVEBoFWk=; b=43z+d9zURP9naz5XJexOeCpqYFZIJhRQHly5U7i7AdSddbNdaizXZcBpd/JhDuNkNSDuyz PUDXulnUCdcV0MqH2WwPkTX1ciwHKTS0no6Wwkl0lgJm8PjU64R2ueacdV2x3FiHEoQ6uv nJvjf72IbOzdy3oUa4fPnKa7eSI0HBk/Cn5SDjzZcNspBFvFu2M4vnFzLhPYZnXGoAGeVY BhYkrX4PKRX9YIfQ8ieRpVOE2GiwWmp6vjH4HO5gKJ/3wHyKcitmy9ae6p2fjkkXQ/liYc x+erdYCzFejAElTkNfBgSNZ4GtO2P4AIxnMkUSaek62C1mNKMQb8sq4W9DjnSQ== ARC-Authentication-Results: i=1; rspamd-747d4f8b9f-jvsj9; auth=pass smtp.auth=dreamhost smtp.mailfrom=siddhesh@gotplt.org X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|siddhesh@gotplt.org X-MailChannels-Auth-Id: dreamhost X-Supply-Cure: 5ca907c05a426b15_1671124883859_4106408168 X-MC-Loop-Signature: 1671124883859:3969021271 X-MC-Ingress-Time: 1671124883858 Received: from pdx1-sub0-mail-a306.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.97.48.82 (trex/6.7.1); Thu, 15 Dec 2022 17:21:23 +0000 Received: from [192.168.0.182] (bras-base-toroon4834w-grc-23-76-68-24-147.dsl.bell.ca [76.68.24.147]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: siddhesh@gotplt.org) by pdx1-sub0-mail-a306.dreamhost.com (Postfix) with ESMTPSA id 4NXzXz0pzNzDD; Thu, 15 Dec 2022 09:21:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gotplt.org; s=dreamhost; t=1671124883; bh=8/HnKn2KmhLYntGpCz4akp2pKfz2VE9n6qkKVEBoFWk=; h=Date:Subject:To:Cc:From:Content-Type:Content-Transfer-Encoding; b=KIaBSPfIJKpwshXnce+fwo+in3oxNq4OaRSrNMPucYm2Ph/tsIDuby8w6RuDxquA0 4jSmnLzPaS8JR2BOxmx6bqrUS2XeOm4UYCFu+s2Exzktkg8kgPp4e/PnDBY54wgsrC lYcTmJzfwXfl1DRA3oS0vA6J33t6GzlcB+wfNuxXrIFfYgNNctzNHm4hv7d2Udm8Ko ks9wxgXgvcEfsE6dyGIbMSOOf0rInJb7lhgLqDIvql1H+NvLBybr6WM7bcgWkUca0L 2h6FO/efZb4m1FSVKpRPBbX+OLmhm2lA7fmPnjvUmf8vWeCs18zW7ZFDIbjorA/tDA k+VSZ108u9psA== Message-ID: <7cb1073c-86ed-7ff0-ff3b-14e288b86df8@gotplt.org> Date: Thu, 15 Dec 2022 12:21:21 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH] doc: Fix documentation for __builtin_dynamic_object_size Content-Language: en-US To: Jakub Jelinek Cc: gcc-patches@gcc.gnu.org References: <20221215165814.1808816-1-siddhesh@gotplt.org> From: Siddhesh Poyarekar In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3031.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,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 List-Id: On 2022-12-15 12:09, Jakub Jelinek wrote: >> -This is a propagation pass similar to CCP that tries to remove calls >> -to @code{__builtin_object_size} when the size of the object can be >> -computed at compile-time. This pass is located in >> -@file{tree-object-size.cc} and is described by >> +This is a propagation pass similar to CCP that tries to remove calls to >> +@code{__builtin_object_size} or @code{__builtin_dynamic_object_size} >> +when the size of the object can be computed at compile-time. This pass > > Can be computed at compile-time is only true for __bos, for > __bdos is if it can be computed. How about: This is a propagation pass similar to CCP that tries to remove calls to @code{__builtin_object_size} when the size of the object can be computed at compile-time. It also tries to replace calls to @code{__builtin_dynamic_object_size} with an expression that evaluates the size of the object. This pass is located in @file{tree-object-size.cc} and is described by @code{pass_object_sizes}.