I am really sorry about the delay. I couldn't exactly reproduce the warning which you described, but I found a place where two nodes were out of order in optinfo.texi. Could you please apply the following patch and see if the problem goes away? If it works for you, I will commit the doc fixes.
Also I would appreciate the exact command which produces these warnings. Thanks, Sharad 2014-02-05 Sharad Singhai <sing...@google.com> * doc/optinfo.texi: Fix order of nodes. Index: doc/optinfo.texi =================================================================== --- doc/optinfo.texi (revision 207525) +++ doc/optinfo.texi (working copy) @@ -12,8 +12,8 @@ information about various compiler transformations @menu * Dump setup:: Setup of optimization dumps. * Optimization groups:: Groups made up of optimization passes. +* Dump files and streams:: Dump output file names and streams. * Dump output verbosity:: How much information to dump. -* Dump files and streams:: Dump output file names and streams. * Dump types:: Various types of dump functions. * Dump examples:: Sample usage. @end menu Thanks, Sharad On Fri, Jan 24, 2014 at 2:20 AM, Thomas Schwinge <tho...@codesourcery.com> wrote: > Hi! > > On Thu, 19 Dec 2013 01:44:08 -0800, Sharad Singhai <sing...@google.com> wrote: >> I ran 'make doc' and browsed the info output for basic sanity. Okay for >> trunk? > >> * Makefile.in: Add optinfo.texi. >> * doc/optinfo.texi: New documentation for optimization info. >> * doc/passes.texi: Add new node. > > Thanks for contributing to the documentation! > > During build, I'm seeing the following warnings; would be great if you > could address these: > > ../../source/gcc/doc/optinfo.texi:45: warning: node next `Optimization > groups' in menu `Dump output verbosity' and in sectioning `Dump files and > streams' differ > ../../source/gcc/doc/optinfo.texi:77: warning: node next `Dump files and > streams' in menu `Dump types' and in sectioning `Dump output verbosity' differ > ../../source/gcc/doc/optinfo.texi:77: warning: node prev `Dump files and > streams' in menu `Dump output verbosity' and in sectioning `Optimization > groups' differ > ../../source/gcc/doc/optinfo.texi:104: warning: node next `Dump output > verbosity' in menu `Dump files and streams' and in sectioning `Dump types' > differ > ../../source/gcc/doc/optinfo.texi:104: warning: node prev `Dump output > verbosity' in menu `Optimization groups' and in sectioning `Dump files and > streams' differ > ../../source/gcc/doc/optinfo.texi:137: warning: node prev `Dump types' in > menu `Dump files and streams' and in sectioning `Dump output verbosity' differ > > > Grüße, > Thomas