diff mbox

[OBVIOUS] Fix documentation reference (PR web/71666)

Message ID c45bcbfd-46e6-2bca-6daf-93d28971f740@suse.cz
State New
Headers show

Commit Message

Martin Liška Nov. 25, 2016, 2:20 p.m. UTC
The patch is selecting the proper section where -fprofile-generate is documented.

Martin
diff mbox

Patch

From 00a7b92ef9bc7158a3e7202deb9b18b8d95dd5d2 Mon Sep 17 00:00:00 2001
From: marxin <mliska@suse.cz>
Date: Fri, 25 Nov 2016 15:11:48 +0100
Subject: [PATCH] Fix documentation reference (PR web/71666)

gcc/ChangeLog:

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.
---
 gcc/doc/invoke.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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
-- 
2.10.2