Patchwork [DOC] -O3 enables -ftree-loop-distribute-patterns

login
register
mail settings
Submitter Horst Schirmeier
Date July 18, 2014, 3:39 p.m.
Message ID <20140718153902.GH10719@quickstop.soohrt.org>
Download mbox | patch
Permalink /patch/371633/
State New
Headers show

Comments

Horst Schirmeier - July 18, 2014, 3:39 p.m.
Hi,

when reading the gcc/opts.c sources, I noticed that the docs don't
mention -ftree-loop-distribute-patterns along the other switches enabled
with -O3.

This documentation was missing since this option's introduction in SVN
r162822 and should be backported to the 4.6, 4.7, 4.8 and 4.9 branches
(if still alive).

2014-07-18  Horst Schirmeier  <horst@schirmeier.com>

        * doc/invoke.texi: -O3 enables -ftree-loop-distribute-patterns.
Richard Guenther - July 23, 2014, 9:42 a.m.
On Fri, Jul 18, 2014 at 5:39 PM, Horst Schirmeier <horst@schirmeier.com> wrote:
> Hi,
>
> when reading the gcc/opts.c sources, I noticed that the docs don't
> mention -ftree-loop-distribute-patterns along the other switches enabled
> with -O3.
>
> This documentation was missing since this option's introduction in SVN
> r162822 and should be backported to the 4.6, 4.7, 4.8 and 4.9 branches
> (if still alive).

Installed on trunk.

Thanks,
Richard.

> 2014-07-18  Horst Schirmeier  <horst@schirmeier.com>
>
>         * doc/invoke.texi: -O3 enables -ftree-loop-distribute-patterns.
>
> diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
> index b5e8d98..b0a8eb8 100644
> --- a/gcc/doc/invoke.texi
> +++ b/gcc/doc/invoke.texi
> @@ -7030,6 +7030,7 @@ Optimize yet more.  @option{-O3} turns on all optimizations specified
>  by @option{-O2} and also turns on the @option{-finline-functions},
>  @option{-funswitch-loops}, @option{-fpredictive-commoning},
>  @option{-fgcse-after-reload}, @option{-ftree-loop-vectorize},
> +@option{-ftree-loop-distribute-patterns},
>  @option{-ftree-slp-vectorize}, @option{-fvect-cost-model},
>  @option{-ftree-partial-pre} and @option{-fipa-cp-clone} options.
>
> --
> PGP-Key 0xD40E0E7A

Patch

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index b5e8d98..b0a8eb8 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -7030,6 +7030,7 @@  Optimize yet more.  @option{-O3} turns on all optimizations specified
 by @option{-O2} and also turns on the @option{-finline-functions},
 @option{-funswitch-loops}, @option{-fpredictive-commoning},
 @option{-fgcse-after-reload}, @option{-ftree-loop-vectorize},
+@option{-ftree-loop-distribute-patterns},
 @option{-ftree-slp-vectorize}, @option{-fvect-cost-model},
 @option{-ftree-partial-pre} and @option{-fipa-cp-clone} options.