This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH/doc] - mention all optimization options that enable inlining options
- From: Richard Biener <rguenther at suse dot de>
- To: Martin Sebor <msebor at gmail dot com>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>, Gerald Pfeifer <gerald at pfeifer dot com>
- Date: Mon, 9 Apr 2018 09:36:36 +0200 (CEST)
- Subject: Re: [PATCH/doc] - mention all optimization options that enable inlining options
- References: <6f87f645-1d42-e8ff-3533-d789a7ab512d@gmail.com>
On Sun, 8 Apr 2018, Martin Sebor wrote:
> While updating the -Wrestrict option to mention that it works
> best not just with -O2 but also at higher optimization levels
> I looked around for other options that might benefit from
> a similar clarification. I found a few inlining options that
> only mention -O2 but that (according to -Q --help=optimizers)
> are enabled at other levels as well. The attached patch
> changes the manual to reflect that.
OK.
> Given the large number of options I didn't take the time to
> check all optimization options so there could others that could
> stand to be similarly improved if we want to be 100% accurate.
> If that is, in fact, what we want then we might want to script
> this.
Yeah, note we now have -Og and -Ofast as well...
Richard.