This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][doc] Correct optimisation levels documentation for -fstore-merging
- From: Jeff Law <law at redhat dot com>
- To: Kyrill Tkachov <kyrylo dot tkachov at foss dot arm dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Sandra Loosemore <sandra at codesourcery dot com>, "gerald at pfeifer dot com" <gerald at pfeifer dot com>
- Date: Mon, 23 Jan 2017 16:39:41 -0700
- Subject: Re: [PATCH][doc] Correct optimisation levels documentation for -fstore-merging
- Authentication-results: sourceware.org; auth=none
- References: <58863D28.6070906@foss.arm.com>
On 01/23/2017 10:28 AM, Kyrill Tkachov wrote:
Hi all,
I had forgotten to update the -fstore-merging documentation from a
previous iteration of the pass
and it says that it's enabled at -O and higher. The option is in fact
enabled at -O2 and higher, as well as -Os.
This patch clarifies that.
Is this ok? Or is there a more preferred style of listing optimisation
levels?
Thanks,
Kyrill
2016-01-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* doc/invoke.texi (-fstore-merging): Correct default optimization
levels at which it is enabled.
I think you also need to remove -fstore-merging from list of options
turned on by -O:
@option{-O} turns on the following optimization flags:
[ ... ]
-fstore-merging @gol
And instead add it to the list of options enabled at -O2 and higher
which immediately follows.
OK with those changes.
jeff