From patchwork Fri Nov 25 14:20:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 84136 Delivered-To: patch@linaro.org Received: by 10.182.1.168 with SMTP id 8csp183464obn; Fri, 25 Nov 2016 06:21:00 -0800 (PST) X-Received: by 10.84.133.69 with SMTP id 63mr18179744plf.15.1480083660752; Fri, 25 Nov 2016 06:21:00 -0800 (PST) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id z6si44872865pgb.66.2016.11.25.06.21.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Nov 2016 06:21:00 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-442651-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-return-442651-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-442651-patch=linaro.org@gcc.gnu.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=TBRqNqtQVjEVm/LNq0C0zPJVtd+qHLHgVCD3NguG9sZky+BrnW CVC7xzVJ5sIPeMN/fHw1zRljsLYPx2wq1EKfMSBqJ1m8J2te3chTZ3xOefVo70c1 UWg/JdOxWf2fMKwaDcXrGZiXhp+BePoZS5ittrLT32JwREaP6lzl5931A= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=t4UVfRoUH151NN6PY7adAGb2Vpc=; b=HFvjkn56spjbyZrRXoKh uUPgDkST1c3Gy3+ApNmxoioEQ1C6KA43YV6uEQK0g7n0+YdeVPrisuwHPVIX14Tq EJvWJ3xInLC7PzV+wii9xcXN7sz87pYAXC64kLlEfkqUfodD9nCz/OoYsMnUmW/2 rH8hDi9n7tSvTEOrdckk5x8= Received: (qmail 88822 invoked by alias); 25 Nov 2016 14:20:45 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 88802 invoked by uid 89); 25 Nov 2016 14:20:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00, SPF_PASS autolearn=ham version=3.3.2 spammy=fprofile-use, fprofileuse X-HELO: mx2.suse.de Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 25 Nov 2016 14:20:34 +0000 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id B5149AAD0 for ; Fri, 25 Nov 2016 14:20:31 +0000 (UTC) To: GCC Patches From: =?UTF-8?Q?Martin_Li=c5=a1ka?= Subject: [OBVIOUS] [PATCH] Fix documentation reference (PR web/71666) Message-ID: Date: Fri, 25 Nov 2016 15:20:30 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 X-IsSubscribed: yes The patch is selecting the proper section where -fprofile-generate is documented. Martin >From 00a7b92ef9bc7158a3e7202deb9b18b8d95dd5d2 Mon Sep 17 00:00:00 2001 From: marxin Date: Fri, 25 Nov 2016 15:11:48 +0100 Subject: [PATCH] Fix documentation reference (PR web/71666) gcc/ChangeLog: 2016-11-25 Martin Liska 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