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  <ho...@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

Reply via email to