From: mmitchel Date: Sun, 18 Apr 2004 23:17:28 +0000 (+0000) Subject: PR other/14918 X-Git-Tag: upstream/4.9.2~71779 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8953859b02597697d1f1f44851c24e66185586f6;p=platform%2Fupstream%2Flinaro-gcc.git 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/trunk@80830 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 859dd06..d7b78c3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2004-04-18 Mark Mitchell + 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. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 1529194..570e8e7 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -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