From patchwork Thu Feb 21 06:39:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 222190 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]) by ozlabs.org (Postfix) with SMTP id EAD822C008E for ; Thu, 21 Feb 2013 17:39:54 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1362033595; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:Date:From:To:Cc:Subject:Message-ID:Reply-To: MIME-Version:Content-Type:Content-Disposition:User-Agent: Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:Sender:Delivered-To; bh=NPkoWCm5LHpSrhPAscPc HRBQdpg=; b=mwjStfFkAC3mVaAMIOMY/5ZgkOK77IAkK/ljErGZTajWQn7cd1OP dolYTxRKalN4U3BbxFR52RFoDQw0ZdGKa/xnFYdw33jNKbYQb+zOAflR64ED9F2e IreR/BKeo/9K/JpyHmK/azeMr422r4vt3WM682Xo9PR/Ag3lml3Hq2Q= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:Received:Date:From:To:Cc:Subject:Message-ID:Reply-To:MIME-Version:Content-Type:Content-Disposition:User-Agent:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=ryXXnyPI077OMniaS14aAkam/LHf3PDqEyri2Ef3uVQNFUwaoT8og2/pZzsEa3 ZC+BmsWCCaLYQlS+QK9/SdeWgL8JjQjS4fhGul3wvobui5ZO3liCgp6ofPRl/Hr/ 8tNBsiNRJTWuJE1Qnq8u5l4E70OUpBE0gKOC+XpYYNMeo=; Received: (qmail 28887 invoked by alias); 21 Feb 2013 06:39:47 -0000 Received: (qmail 28878 invoked by uid 22791); 21 Feb 2013 06:39:46 -0000 X-SWARE-Spam-Status: No, hits=-6.6 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, KHOP_SPAMHAUS_DROP, RCVD_IN_DNSWL_HI, RCVD_IN_HOSTKARMA_W, RP_MATCHES_RCVD, SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 21 Feb 2013 06:39:38 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r1L6dZPB003366 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 21 Feb 2013 01:39:35 -0500 Received: from zalov.redhat.com (vpn1-7-92.ams2.redhat.com [10.36.7.92]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r1L6dXwn000816 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 21 Feb 2013 01:39:34 -0500 Received: from zalov.cz (localhost [127.0.0.1]) by zalov.redhat.com (8.14.5/8.14.5) with ESMTP id r1L6dW7L007977; Thu, 21 Feb 2013 07:39:32 +0100 Received: (from jakub@localhost) by zalov.cz (8.14.5/8.14.5/Submit) id r1L6dVvD007976; Thu, 21 Feb 2013 07:39:31 +0100 Date: Thu, 21 Feb 2013 07:39:31 +0100 From: Jakub Jelinek To: Richard Biener , "Joseph S. Myers" , Eric Botcazou Cc: gcc-patches@gcc.gnu.org Subject: [PATCH] Small *.texi{, info} fixes for texinfo 5.0 (PR bootstrap/56258) Message-ID: <20130221063931.GV1215@tucnak.zalov.cz> Reply-To: Jakub Jelinek MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes 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 Hi! Currently it is not possible to bootstrap gcc with texinfo 5.0. This patch attempts to fix the errors that prevent bootstrap, there are tons of warnings this doesn't address and would be good if somebody more TeXinfo knowledgeable looked at it. Bootstrapped/regtested on x86_64-linux and i686-linux both with texinfo 5.0 and older texinfo installed. The errors were: ../../gcc/doc/invoke.texi:5615: @itemx must follow @item ../../gcc/ada/gnat-style.texi:45: unknown command `hfill' doc/projects.texi:51: @pxref reference to nonexistent node `Scenarios in Projects' doc/projects.texi:363: @pxref reference to nonexistent node `Organizing Projects into Subsystems' doc/projects.texi:391: @xref reference to nonexistent node `Project Extension' ../../../../../libjava/classpath/doc/cp-tools.texinfo:2030: `@end' expected `smallexample', but saw `table' ../../../../../libjava/classpath/doc/cp-tools.texinfo:2030: `@end' expected `smallexample', but saw `table' ../../../../../libjava/classpath/doc/cp-tools.texinfo:2030: `@end' expected `smallexample', but saw `table' Examples of warnings (many of them occuring many up to several dozens of times): warning: @anchor should not appear in @heading warning: @title missing argument warning: @itemize has text but no @item warning: node `XXX' is next for `YYY' in menu but not in sectioning warning: node `XXX' is up for `YYY' in menu but not in sectioning warning: @itemize has text but no @item warning: node next `XXX' in menu `YYY' and in sectioning `ZZZ' differ warning: @tex should only appear at a line beginning warning: command @tie does not accept arguments Ok for trunk? 2013-02-21 Jakub Jelinek PR bootstrap/56258 * doc/invoke.texi (-fdump-rtl-pro_and_epilogue): Use @item instead of @itemx. * gnat-style.texi (@title): Remove @hfill. * projects.texi: Avoid line wrapping inside of @pxref or @xref. * doc/cp-tools.texinfo (Virtual Machine Options): Use just one @gccoptlist instead of 3 separate ones. Jakub --- gcc/doc/invoke.texi.jj 2013-01-31 22:57:22.000000000 +0100 +++ gcc/doc/invoke.texi 2013-02-20 13:06:47.516405739 +0100 @@ -5612,7 +5612,7 @@ Dump after the peephole pass. @opindex fdump-rtl-postreload Dump after post-reload optimizations. -@itemx -fdump-rtl-pro_and_epilogue +@item -fdump-rtl-pro_and_epilogue @opindex fdump-rtl-pro_and_epilogue Dump after generating the function prologues and epilogues. --- gcc/ada/gnat-style.texi.jj 2012-08-10 12:57:33.000000000 +0200 +++ gcc/ada/gnat-style.texi 2013-02-20 13:06:03.042667300 +0100 @@ -42,7 +42,7 @@ Texts. A copy of the license is include @titlepage @titlefont{GNAT Coding Style:} @sp 1 -@title @hfill A Guide for GNAT Developers +@title A Guide for GNAT Developers @subtitle GNAT, The GNU Ada Compiler @versionsubtitle @author Ada Core Technologies, Inc. --- gcc/ada/projects.texi.jj 2013-01-04 11:16:24.000000000 +0100 +++ gcc/ada/projects.texi 2013-02-20 17:48:41.582645159 +0100 @@ -48,8 +48,7 @@ project files allow you to specify: @item Source file naming conventions; you can specify these either globally or for individual compilation units (@pxref{Naming Schemes}). @item Change any of the above settings depending on external values, thus enabling - the reuse of the projects in various @b{scenarios} (@pxref{Scenarios - in Projects}). + the reuse of the projects in various @b{scenarios} (@pxref{Scenarios in Projects}). @item Automatically build libraries as part of the build process (@pxref{Library Projects}). @@ -360,8 +359,8 @@ locating the specified source files in t @item For various reasons, it is sometimes useful to have a project with no sources (most of the time because the attributes defined in the project - file will be reused in other projects, as explained in @pxref{Organizing - Projects into Subsystems}. To do this, the attribute + file will be reused in other projects, as explained in + @pxref{Organizing Projects into Subsystems}. To do this, the attribute @emph{Source_Files} is set to the empty list, i.e. @code{()}. Alternatively, @emph{Source_Dirs} can be set to the empty list, with the same result. @@ -388,8 +387,9 @@ locating the specified source files in t This can be done thanks to the attribute @b{Excluded_Source_Files} (or its synonym @b{Locally_Removed_Files}). Its value is the list of file names that should not be taken into account. - This attribute is often used when extending a project, @xref{Project - Extension}. A similar attribute @b{Excluded_Source_List_File} plays the same + This attribute is often used when extending a project, + @xref{Project Extension}. A similar attribute + @b{Excluded_Source_List_File} plays the same role but takes the name of file containing file names similarly to @code{Source_List_File}. --- libjava/classpath/doc/cp-tools.texinfo.jj 2012-12-20 11:38:51.000000000 +0100 +++ libjava/classpath/doc/cp-tools.texinfo 2013-02-20 19:10:42.573925165 +0100 @@ -2025,7 +2025,7 @@ Doclet, grouped by type. Explanations a @item Virtual Machine Options @xref{Virtual Machine Options,,Options Controlling Gjdoc Behavior}. -@gccoptlist{-classpath} @gccoptlist{-bootclasspath} @gccoptlist{-J}@var{vmopt} +@gccoptlist{-classpath -bootclasspath -J @var{vmopt}} @end table