Created
November 8, 2013 22:45
-
-
Save fallen/7378887 to your computer and use it in GitHub Desktop.
Patch which fix errors in documentation generation of gcc-4.5.4 when compiled on modern systems having texinfo >= 5 where @item/@itemx issues are not warning anymore but errors.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -rup dl/gcc-4.5.4/gcc/doc/cppopts.texi gcc-4.5.4/gcc/doc/cppopts.texi | |
--- dl/gcc-4.5.4/gcc/doc/cppopts.texi 2010-04-02 21:54:46.000000000 +0200 | |
+++ gcc-4.5.4/gcc/doc/cppopts.texi 2013-11-08 19:41:47.284525238 +0100 | |
@@ -760,7 +760,7 @@ Replacement: [ ] @{ @} | |
Enable special code to work around file systems which only permit very | |
short file names, such as MS-DOS@. | |
-@itemx --help | |
+@item --help | |
@itemx --target-help | |
@opindex help | |
@opindex target-help | |
diff -rup dl/gcc-4.5.4/gcc/doc/generic.texi gcc-4.5.4/gcc/doc/generic.texi | |
--- dl/gcc-4.5.4/gcc/doc/generic.texi 2010-07-06 22:23:53.000000000 +0200 | |
+++ gcc-4.5.4/gcc/doc/generic.texi 2013-11-08 20:13:34.796493169 +0100 | |
@@ -1407,13 +1407,13 @@ generate these expressions anyhow, if it | |
not matter. The type of the operands and that of the result are | |
always of @code{BOOLEAN_TYPE} or @code{INTEGER_TYPE}. | |
-@itemx POINTER_PLUS_EXPR | |
+@item POINTER_PLUS_EXPR | |
This node represents pointer arithmetic. The first operand is always | |
a pointer/reference type. The second operand is always an unsigned | |
integer type compatible with sizetype. This is the only binary | |
arithmetic operand that can operate on pointer types. | |
-@itemx PLUS_EXPR | |
+@item PLUS_EXPR | |
@itemx MINUS_EXPR | |
@itemx MULT_EXPR | |
These nodes represent various binary arithmetic operations. | |
diff -rup dl/gcc-4.5.4/gcc/doc/invoke.texi gcc-4.5.4/gcc/doc/invoke.texi | |
--- dl/gcc-4.5.4/gcc/doc/invoke.texi 2011-03-23 23:03:29.000000000 +0100 | |
+++ gcc-4.5.4/gcc/doc/invoke.texi 2013-11-08 19:56:45.760510133 +0100 | |
@@ -4875,11 +4875,11 @@ Dump after duplicating the computed goto | |
@option{-fdump-rtl-ce3} enable dumping after the three | |
if conversion passes. | |
-@itemx -fdump-rtl-cprop_hardreg | |
+@item -fdump-rtl-cprop_hardreg | |
@opindex fdump-rtl-cprop_hardreg | |
Dump after hard register copy propagation. | |
-@itemx -fdump-rtl-csa | |
+@item -fdump-rtl-csa | |
@opindex fdump-rtl-csa | |
Dump after combining stack adjustments. | |
@@ -4890,11 +4890,11 @@ Dump after combining stack adjustments. | |
@option{-fdump-rtl-cse1} and @option{-fdump-rtl-cse2} enable dumping after | |
the two common sub-expression elimination passes. | |
-@itemx -fdump-rtl-dce | |
+@item -fdump-rtl-dce | |
@opindex fdump-rtl-dce | |
Dump after the standalone dead code elimination passes. | |
-@itemx -fdump-rtl-dbr | |
+@item -fdump-rtl-dbr | |
@opindex fdump-rtl-dbr | |
Dump after delayed branch scheduling. | |
@@ -4939,7 +4939,7 @@ Dump after the initialization of the reg | |
@opindex fdump-rtl-initvals | |
Dump after the computation of the initial value sets. | |
-@itemx -fdump-rtl-into_cfglayout | |
+@item -fdump-rtl-into_cfglayout | |
@opindex fdump-rtl-into_cfglayout | |
Dump after converting to cfglayout mode. | |
@@ -4969,7 +4969,7 @@ Dump after removing redundant mode switc | |
@opindex fdump-rtl-rnreg | |
Dump after register renumbering. | |
-@itemx -fdump-rtl-outof_cfglayout | |
+@item -fdump-rtl-outof_cfglayout | |
@opindex fdump-rtl-outof_cfglayout | |
Dump after converting from cfglayout mode. | |
@@ -4981,7 +4981,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 pro and epilogues. | |
diff -rup dl/gcc-4.5.4/gcc/doc/sourcebuild.texi gcc-4.5.4/gcc/doc/sourcebuild.texi | |
--- dl/gcc-4.5.4/gcc/doc/sourcebuild.texi 2011-04-12 18:37:04.000000000 +0200 | |
+++ gcc-4.5.4/gcc/doc/sourcebuild.texi 2013-11-08 20:07:27.228499348 +0100 | |
@@ -676,7 +676,7 @@ standard rule in @file{gcc/Makefile.in} | |
@code{lang_checks}. | |
@table @code | |
-@itemx all.cross | |
+@item all.cross | |
@itemx start.encap | |
@itemx rest.encap | |
FIXME: exactly what goes in each of these targets? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment