Patchwork PATCH: PR other/59055: gcc.texinfo warnings

login
register
mail settings
Submitter H.J. Lu
Date Nov. 8, 2013, 10:39 p.m.
Message ID <20131108223951.GA26617@intel.com>
Download mbox | patch
Permalink /patch/289934/
State New
Headers show

Comments

H.J. Lu - Nov. 8, 2013, 10:39 p.m.
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  <hongjiu.lu@intel.com>

	PR other/59055
	* invoke.texi: Remove the redundant menu.

Patch

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