From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30595 invoked by alias); 19 Mar 2008 09:53:43 -0000 Received: (qmail 30587 invoked by uid 22791); 19 Mar 2008 09:53:43 -0000 X-Spam-Check-By: sourceware.org Received: from wf-out-1314.google.com (HELO wf-out-1314.google.com) (209.85.200.172) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 19 Mar 2008 09:53:12 +0000 Received: by wf-out-1314.google.com with SMTP id 28so367135wfc.14 for ; Wed, 19 Mar 2008 02:53:10 -0700 (PDT) Received: by 10.142.237.20 with SMTP id k20mr22211wfh.227.1205920390478; Wed, 19 Mar 2008 02:53:10 -0700 (PDT) Received: by 10.142.86.17 with HTTP; Wed, 19 Mar 2008 02:53:10 -0700 (PDT) Message-ID: <84fc9c000803190253y62b9163r90827332796f6246@mail.gmail.com> Date: Wed, 19 Mar 2008 10:05:00 -0000 From: "Richard Guenther" To: "Ira Rosen" Subject: Re: [patch, doc] Add -ftree-vectorize to the list of optimizations turned on under -O3. Cc: gcc-patches@gcc.gnu.org, "Bradley Lucier" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2008-03/txt/msg01126.txt.bz2 On Wed, Mar 19, 2008 at 8:51 AM, Ira Rosen wrote: > > Hi, > > This is a fix for: > > Bradley Lucier wrote on 19/03/2008 06:01:19: > > > The web page > > > > http://gcc.gnu.org/gcc-4.3/changes.html > > > > states that "The -ftree-vectorize option is now on by default under - > > O3.", but on > > > > http://gcc.gnu.org/onlinedocs/gcc-4.3.0/gcc/Optimize-Options.html > > > > -ftree-vectorize is not listed as one of the options enabled by -O3. > > O.K. for 4.3 and 4.4? This is ok if you also expand @item -ftree-vectorize @opindex ftree-vectorize Perform loop vectorization on trees. to say "This is enabled by default at @option{-O3}." Richard. > Thanks, > Ira > > ChangeLog:. > > * doc/invoke.texi (-O3): Add -ftree-vectorize to the list of > optimizations turned on under -O3. > > Index: invoke.texi > =================================================================== > --- invoke.texi (revision 133335) > +++ invoke.texi (working copy) > @@ -5224,8 +5224,8 @@ invoking @option{-O2} on programs that u > @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} and, > -@option{-fgcse-after-reload} options. > +@option{-funswitch-loops}, @option{-fpredictive-commoning}, > +@option{-fgcse-after-reload} and @option{-ftree-vectorize} options. > > @item -O0 > @opindex O0 > >