From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1851) id BF03B383554E; Wed, 14 Dec 2022 07:55:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BF03B383554E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671004523; bh=pLm4CVdzroPFujN6L6yytSZDGkmS8ui6eE0JcfHXHio=; h=From:To:Subject:Date:From; b=TmUikB3GdkpXGqyBPsvIOlOJR6yJVVmTBfmV/wFUGL7ZKeG20SCOYguHqz/FnhWAN bOb8LQM7djui03MxMfg4Bc8MJGjq+ohU5Qa1IHnicDYZFd5/h6u9AiPlyyBhlJmYRK VfDEJwKsurs3isG1AP+DI7MqQLCTd47vZskEpveg= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Martin Liska To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-4695] docs: document --param=ipa-sra-ptrwrap-growth-factor X-Act-Checkin: gcc X-Git-Author: Martin Liska X-Git-Refname: refs/heads/master X-Git-Oldrev: d3fee43fb3873b00de913e0501fbf28b56d2ce64 X-Git-Newrev: 693638252aae9b36b5b928d7195df6d28bf409d7 Message-Id: <20221214075523.BF03B383554E@sourceware.org> Date: Wed, 14 Dec 2022 07:55:23 +0000 (GMT) List-Id: https://gcc.gnu.org/g:693638252aae9b36b5b928d7195df6d28bf409d7 commit r13-4695-g693638252aae9b36b5b928d7195df6d28bf409d7 Author: Martin Liska Date: Wed Dec 14 08:54:32 2022 +0100 docs: document --param=ipa-sra-ptrwrap-growth-factor gcc/ChangeLog: * doc/invoke.texi: Document ipa-sra-ptrwrap-growth-factor. Diff: --- gcc/doc/invoke.texi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 0459714d100..7dc1d45e275 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -15520,6 +15520,11 @@ parameters only when their cumulative size is less or equal to @option{ipa-sra-ptr-growth-factor} times the size of the original pointer parameter. +@item ipa-sra-ptrwrap-growth-factor +Additional maximum allowed growth of total size of new parameters +that ipa-sra replaces a pointer to an aggregate with, +if it points to a local variable that the caller never writes to. + @item ipa-sra-max-replacements Maximum pieces of an aggregate that IPA-SRA tracks. As a consequence, it is also the maximum number of replacements of a formal