The invoke.texi is correct. -ftree-vectorize is now simply a short-hand to enable both loop and slp vectorizer. I will fix the the help message appropriately.
David On Thu, Feb 6, 2014 at 11:20 AM, Uros Bizjak <ubiz...@gmail.com> wrote: > On Thu, Feb 6, 2014 at 8:01 PM, Xinliang David Li <davi...@google.com> wrote: >> It is a bug in the help message dump. You can see that >> ftree-loop-vectorize ftree-slp-vectorize are indeed enabled. > > I see. It would be also nice to fix -O3 entry in doc/invoke.texi that > currently reads: > > --cut here-- > @item -O3 > @opindex O3 > 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-slp-vectorize}, @option{-fvect-cost-model}, > @option{-ftree-partial-pre} and @option{-fipa-cp-clone} options. > --cut here-- > > Uros.