summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-18 23:05:36 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-18 23:05:36 +0000
commitedb33f7c51652d6579479375744593c672017a22 (patch)
treeddbda484988116b35068359a48217bab30e335b0
parent026dfcc8ac5d1c4c97d14fca02f6884e9826ce6a (diff)
downloadgcc-edb33f7c51652d6579479375744593c672017a22.tar.gz
PR other/14918
* doc/invoke.texi (-fprofile-generate): Document requirement to use -fprofile-generate when linking. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_4-branch@80829 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/invoke.texi9
2 files changed, 10 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a0d401765f2..19341bbb1ad 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
+
PR bootstrap/14992
* gcc.c (init_gcc_specs): Only honor HAVE_LD_AS_NEEDED on
GNU/Linux.
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 6ca64e496fc..a2d6208e0d2 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -4352,10 +4352,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