documentation of ipa additions.
Jan Hubicka
hubicka@ucw.cz
Mon Jul 18 22:49:00 GMT 2005
> I did not document these flags in the initial patch.
Hi,
unit-at-a-time is now enabled by defualt -O1 for C too, so your
documentation can probably be simplified.
Honza
>
> kenny
>
> Index: invoke.texi
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/doc/invoke.texi,v
> retrieving revision 1.648
> diff -u -p -r1.648 invoke.texi
> --- invoke.texi 13 Jul 2005 09:38:44 -0000 1.648
> +++ invoke.texi 18 Jul 2005 16:08:46 -0000
> @@ -305,7 +305,9 @@ Objective-C and Objective-C++ Dialects}.
> -fforce-addr -ffunction-sections @gol
> -fgcse -fgcse-lm -fgcse-sm -fgcse-las -fgcse-after-reload @gol
> -floop-optimize -fcrossjumping -fif-conversion -fif-conversion2 @gol
> --finline-functions -finline-limit=@var{n} -fkeep-inline-functions @gol
> +-finline-functions -finline-limit=@var{n} @gol
> +-fipa-pure-const -fipa-reference -fipa-type-escape @gol
> +-fkeep-inline-functions @gol
> -fkeep-static-consts -fmerge-constants -fmerge-all-constants @gol
> -fmodulo-sched -fno-branch-count-reg @gol
> -fno-default-inline -fno-defer-pop -floop-optimize2 -fmove-loop-invariants @gol
> @@ -4877,6 +4879,21 @@ those which have no call-preserved regis
>
> Enabled at levels @option{-O2}, @option{-O3}, @option{-Os}.
>
> +@item -fipa-pure-const .
> +Discover pure and const functions. This flag is enabled by default at
> +@option{-O2} and above for C and at @option{-O1} and above for other
> +languages.
> +
> +@item -fipa-reference
> +Perform analysis on the static references. This flag is
> +enabled by default at @option{-O2} and above for C and at @option{-O1}
> +and above for other languages.
> +
> +@item -fipa-type-escape
> +Perform type escape analysis. This flag is enabled by default at
> +@option{-O2} and above for C and at @option{-O1} and above for other
> +languages.
> +
> @item -ftree-pre
> Perform Partial Redundancy Elimination (PRE) on trees. This flag is
> enabled by default at @option{-O2} and @option{-O3}.
More information about the Gcc-patches
mailing list