diff options
author | Martin Liska <mliska@suse.cz> | 2016-11-25 15:23:54 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2016-11-25 14:23:54 +0000 |
commit | be40f3cd82bf8a14dbfea17e554774ef2171fdc8 (patch) | |
tree | f98d846df208708f781079a36cea77ea94cd938c /gcc | |
parent | 78681a7b92549b1daa579aeeb78bb498aa167040 (diff) | |
download | gcc-be40f3cd82bf8a14dbfea17e554774ef2171fdc8.zip gcc-be40f3cd82bf8a14dbfea17e554774ef2171fdc8.tar.gz gcc-be40f3cd82bf8a14dbfea17e554774ef2171fdc8.tar.bz2 |
Fix documentation reference (PR web/71666)
PR web/71666
* doc/invoke.texi (-fprofile-use): Fix reference to a section
where -fprofile-generate is documented.
From-SVN: r242878
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 39e980a..443dbfc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2016-11-25 Martin Liska <mliska@suse.cz> + PR web/71666 + * doc/invoke.texi (-fprofile-use): Fix reference to a section + where -fprofile-generate is documented. + +2016-11-25 Martin Liska <mliska@suse.cz> + PR gcov-profile/78086 * coverage.c (build_init_ctor): Don't use priority {cd}tors if not supported by a target. Set priority to 100 if possible. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 34c7187..8a0cad7 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -8921,8 +8921,8 @@ which are generally profitable only with profile feedback available: @option{-ftree-vectorize}, and @option{ftree-loop-distribute-patterns}. Before you can use this option, you must first generate profiling information. -@xref{Optimize Options}, for information about the @option{-fprofile-generate} -option. +@xref{Instrumentation Options}, for information about the +@option{-fprofile-generate} option. By default, GCC emits an error message if the feedback profiles do not match the source code. This error can be turned into a warning by using |