re PR other/14918 (-fprofile-generate should be documented as necessary for linking)
authorMark Mitchell <mark@codesourcery.com>
Sun, 18 Apr 2004 23:17:28 +0000 (23:17 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 18 Apr 2004 23:17:28 +0000 (23:17 +0000)
PR other/14918
* doc/invoke.texi (-fprofile-generate): Document requirement to
use -fprofile-generate when linking.

From-SVN: r80830

gcc/ChangeLog
gcc/doc/invoke.texi

index 859dd06e8f20e2c4308bf0221797a6d9b2c6981d..d7b78c3afe17066be3bdfc4395d354fc428f4057 100644 (file)
@@ -1,5 +1,9 @@
 2004-04-18  Mark Mitchell  <mark@codesourcery.com>
 
+       PR other/14918
+       * doc/invoke.texi (-fprofile-generate): Document requirement to
+       use -fprofile-generate when linking.
+
        * doc/extend.texi (Strong Using): Warn users against using this
        feature.
 
index 152919406d8699fe6db925154b0f735d4a7306b9..570e8e7f9e1859cf1f4809109c091d3f4666a831 100644 (file)
@@ -4378,10 +4378,13 @@ 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}
+Enable options usually used for instrumenting application to produce
+profile useful for later recompilation with profile feedback based
+optimization.  You must use @code{-fprofile-generate} both when
+compiling and when linking your program.
+
+The following options are enabled: @code{-fprofile-arcs}, @code{-fprofile-values}, @code{-fvpt}.
 
 @item -fprofile-use
 @opindex fprofile-use