aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/invoke.texi
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-12-23 18:55:33 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2003-12-23 17:55:33 +0000
commita8a5f53add9eb69aa49b92622e74e3b091d6b386 (patch)
treea3f9b4f94640a92d66ad7856e0e19eb1b7435ae0 /gcc/doc/invoke.texi
parent57702a80e805859260710953242bf87c08f5c410 (diff)
downloadgcc-a8a5f53add9eb69aa49b92622e74e3b091d6b386.zip
gcc-a8a5f53add9eb69aa49b92622e74e3b091d6b386.tar.gz
gcc-a8a5f53add9eb69aa49b92622e74e3b091d6b386.tar.bz2
common.opt (fprofile-generate,fprofile-use): Add.
* common.opt (fprofile-generate,fprofile-use): Add. * gcc.c (LINK_COMMAND_SPEC): Arrange -fprofile-generate to imply -lgcov * opts.c (profile_arc_flag_set, flag_profile_values_set, flag_unroll_loops_set, flag_tracer_set, flag_value_profile_transformations_set, flag_peel_loops_set): New static variables. (common_handle_option): Deal with -fprofile-generate/-fprofile-use * invoke.texi (-fprofile-generate, -fprofile-use): Describe. From-SVN: r74976
Diffstat (limited to 'gcc/doc/invoke.texi')
-rw-r--r--gcc/doc/invoke.texi16
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index db5c0b0..88e8c67 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -281,6 +281,7 @@ in the following sections.
-fno-trapping-math -fno-zero-initialized-in-bss @gol
-fomit-frame-pointer -foptimize-register-move @gol
-foptimize-sibling-calls -fprefetch-loop-arrays @gol
+-fprofile-generate -fprofile-use @gol
-freduce-all-givs -fregmove -frename-registers @gol
-freorder-blocks -freorder-functions @gol
-frerun-cse-after-loop -frerun-loop-opt @gol
@@ -4377,6 +4378,21 @@ and occasionally eliminate the copy.
Disabled at levels @option{-O}, @option{-O2}, @option{-O3}, @option{-Os}.
+@item -fprofile-generate
+@opindex fprofile-generate
+Enable options usually used for instrumenting application to produce profile usefull
+for later recompilation profile feedback based optimization.
+
+The following options are enabled: @code{-fprofile-arcs}, @code{-fprofile-values}, @code{-fvpt}
+
+@item -fprofile-use
+@opindex fprofile-use
+Enable profile feedback directed optimizations, and optimizations
+generally profitable only with profile feedback available.
+
+The following options are enabled: @code{-fbranch-probabilities},
+@code{-fvpt}, @code{-funroll-loops}, @code{-fpeel-loops}, @code{-ftracer}.
+
@end table
The following options control compiler behavior regarding floating