Re: [PATCH] Add -finline-functions-aggressive option [PR114531]

2024-06-25 Thread Malladi, Rama
Thanks for the review and the inputs, Richard Biener. The `-finline-as=` option is an interesting. However, this PR specifically aims to make these `-O3` inline params to be available under some `-f` option, similar to some of the existing inline options. On 6/24/24, 6:28 AM, "Richard Biener"

Re: [PATCH] Add -finline-functions-aggressive option [PR114531]

2024-06-24 Thread Richard Biener
On Mon, Jun 24, 2024 at 1:18 PM Malladi, Rama wrote: > > From: Rama Malladi Hmm, if we offer the ability to set -O3 inline limits why wouldn't we offer a way to set -O2 inline limits for example with -O3? So ... wouldn't a -finline-limit={default,O2,O3} option be a more generic and extensible w

[PATCH] Add -finline-functions-aggressive option [PR114531]

2024-06-24 Thread Malladi, Rama
From: Rama Malladi Signed-off-by: Rama Malladi --- gcc/common.opt | 5 + gcc/doc/invoke.texi | 18 +- gcc/opts.cc | 17 - 3 files changed, 30 insertions(+), 10 deletions(-) diff --git a/gcc/common.opt b/gcc/common.opt index f2bc47fdc5e..ce95175c1e4