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: invoke.texi says -fweb enabled by -O2


> Hi,
> 
> At http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html it says that
> the -fweb is option is turned on by -O2 and again by -O3. Looking at
> opts.c it looks like it really is only enabled by -03.
> 
> This fixes invoke.texi to say the same.
> 
> 2003-11-21  Mark Wielaard  <mark@klomp.org>
> 
> 	* doc/invoke.texi (-O2): Doesn't enable -fweb.
> 
> OK to commit?

Yes, this is obivously correct.  The problem went in that originally we
enabled it at -O2 at CFG branch, but we still can't do that for mainline
because variable tracking didn't get in.

Honza
> 
> Cheers,
> 
> Mark
> 
> Index: gcc/doc/invoke.texi
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/doc/invoke.texi,v
> retrieving revision 1.363
> diff -u -r1.363 invoke.texi
> --- gcc/doc/invoke.texi	21 Nov 2003 06:03:27 -0000	1.363
> +++ gcc/doc/invoke.texi	21 Nov 2003 10:19:28 -0000
> @@ -3686,7 +3686,7 @@
>  -fpeephole2 @gol
>  -freorder-blocks  -freorder-functions @gol
>  -fstrict-aliasing @gol
> --funit-at-a-time -fweb @gol
> +-funit-at-a-time @gol
>  -falign-functions  -falign-jumps @gol
>  -falign-loops  -falign-labels}
>  
> 


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