This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, DOC] -O3 enables -ftree-loop-distribute-patterns


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]