From patchwork Fri Nov 8 22:39:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 289934 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id F24202C00C6 for ; Sat, 9 Nov 2013 09:40:10 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:reply-to:mime-version:content-type; q=dns; s=default; b=wWN4K3pLPCoNn/GNgy8lhhIAm13BJNk+SU7n4FJR29l bJBzR7rxDlY03Fu85QYsW7icm755Hv3jneBAWa1c+1PeIMjhtvidBGsTStEX8cWE +Y4lpIhMxXfNaec2J7qdCzPlDEDySm3KLZl19UfqGm4g0v6pkAqevhBOTH4GvMUQ = 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:date :from:to:subject:message-id:reply-to:mime-version:content-type; s=default; bh=U2eMobni8PkEpQywspErjGrrtmg=; b=VuAT2E/kynqw50X2c uUJThXpfPuqVs0I8JadVC6yYoXtuWuo9GjbqYuHPHqtvSNAGVVeB43V4DXDYHvCJ YU6vFKUTXB/xnSlh5mrGZeOoHmW+UHnTMQrElu66deAD1Rxqpy/AJQj+jzwVUvi0 89OTVzcyeph4043HiY1Pfn6V4Y= Received: (qmail 3838 invoked by alias); 8 Nov 2013 22:40:01 -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 3788 invoked by uid 89); 8 Nov 2013 22:40:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL, BAYES_00, NO_DNS_FOR_FROM, RDNS_NONE, URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: mga14.intel.com Received: from Unknown (HELO mga14.intel.com) (143.182.124.37) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 08 Nov 2013 22:39:59 +0000 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga102.ch.intel.com with ESMTP; 08 Nov 2013 14:39:51 -0800 X-ExtLoop1: 1 Received: from gnu-6.sc.intel.com ([10.3.194.135]) by azsmga001.ch.intel.com with ESMTP; 08 Nov 2013 14:39:51 -0800 Received: by gnu-6.sc.intel.com (Postfix, from userid 500) id 578E88040E; Fri, 8 Nov 2013 14:39:51 -0800 (PST) Date: Fri, 8 Nov 2013 14:39:51 -0800 From: "H.J. Lu" To: gcc-patches@gcc.gnu.org Subject: PATCH: PR other/59055: gcc.texinfo warnings Message-ID: <20131108223951.GA26617@intel.com> Reply-To: "H.J. Lu" MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) There are 2 almost idential menus. The only difference is one doesn't have * Option Summary:: Brief list of all options, without explanations. * Submodel Options:: Specifying minor hardware or convention * variations, such as 68010 vs 68020. * Code Gen Options:: Specifying conventions for function calls, data * layout and register usage. * Environment Variables:: Env vars that affect GCC. * Precompiled Headers:: Compiling a header once, and using it many * times. It leads to /export/gnu/import/git/gcc/gcc/doc/invoke.texi:1097: warning: node next `Overall Options' in menu `C Dialect Options' and in sectioning `Invoking G++' differ /export/gnu/import/git/gcc/gcc/doc/invoke.texi:1097: warning: node up `Overall Options' in menu `Option Summary' and in sectioning `Invoking GCC' differ /export/gnu/import/git/gcc/gcc/doc/invoke.texi:1563: warning: node prev `C Dialect Options' in menu `Overall Options' and in sectioning `Invoking G++' differ /export/gnu/import/git/gcc/gcc/doc/invoke.texi:1563: warning: node up `C Dialect Options' in menu `Option Summary' and in sectioning `Invoking GCC' differ /export/gnu/import/git/gcc/gcc/doc/invoke.texi:1982: warning: node up `C++ Dialect Options' in menu `Option Summary' and in sectioning `Invoking GCC' differ /export/gnu/import/git/gcc/gcc/doc/invoke.texi:2804: warning: node up `Objective-C and Objective-C++ Dialect Options' in menu `Option Summary' and in sectioning `Invoking GCC' differ /export/gnu/import/git/gcc/gcc/doc/invoke.texi:3036: warning: node up `Language Independent Options' in menu `Option Summary' and in sectioning `Invoking GCC' differ /export/gnu/import/git/gcc/gcc/doc/invoke.texi:3162: warning: node up `Warning Options' in menu `Option Summary' and in sectioning `Invoking GCC' differ /export/gnu/import/git/gcc/gcc/doc/invoke.texi:5050: warning: node up `Debugging Options' in menu `Option Summary' and in sectioning `Invoking GCC' differ /export/gnu/import/git/gcc/gcc/doc/invoke.texi:6637: warning: node up `Optimize Options' in menu `Option Summary' and in sectioning `Invoking GCC' differ /export/gnu/import/git/gcc/gcc/doc/invoke.texi:9897: warning: node up `Preprocessor Options' in menu `Option Summary' and in sectioning `Invoking GCC' differ /export/gnu/import/git/gcc/gcc/doc/invoke.texi:9950: warning: node up `Assembler Options' in menu `Option Summary' and in sectioning `Invoking GCC' differ /export/gnu/import/git/gcc/gcc/doc/invoke.texi:9973: warning: node up `Link Options' in menu `Option Summary' and in sectioning `Invoking GCC' differ /export/gnu/import/git/gcc/gcc/doc/invoke.texi:10255: warning: node up `Directory Options' in menu `Option Summary' and in sectioning `Invoking GCC' differ /export/gnu/import/git/gcc/gcc/doc/invoke.texi:10408: warning: node up `Spec Files' in menu `Option Summary' and in sectioning `Invoking GCC' differ /export/gnu/import/git/gcc/gcc/doc/invoke.texi:10985: warning: node up `Target Options' in menu `Option Summary' and in sectioning `Invoking GCC' differ Is the second menu really needed? This patch removes the second menu. OK to install? H.J. --- 2013-11-08 H.J. Lu PR other/59055 * invoke.texi: Remove the redundant menu. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 25e3eb5..4018337 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -1071,29 +1071,6 @@ See S/390 and zSeries Options. -fvisibility -fstrict-volatile-bitfields -fsync-libcalls} @end table -@menu -* Overall Options:: Controlling the kind of output: - an executable, object files, assembler files, - or preprocessed source. -* C Dialect Options:: Controlling the variant of C language compiled. -* C++ Dialect Options:: Variations on C++. -* Objective-C and Objective-C++ Dialect Options:: Variations on Objective-C - and Objective-C++. -* Language Independent Options:: Controlling how diagnostics should be - formatted. -* Warning Options:: How picky should the compiler be? -* Debugging Options:: Symbol tables, measurements, and debugging dumps. -* Optimize Options:: How much optimization? -* Preprocessor Options:: Controlling header files and macro definitions. - Also, getting dependency information for Make. -* Assembler Options:: Passing options to the assembler. -* Link Options:: Specifying libraries and so on. -* Directory Options:: Where to find header files and libraries. - Where to find the compiler executable files. -* Spec Files:: How to pass switches to sub-processes. -* Target Options:: Running a cross-compiler, or an old version of GCC. -@end menu - @node Overall Options @section Options Controlling the Kind of Output