Ticket #2520: 0003-Bugfix-gcc-4.4.7-couldn-t-be-build-with-a-modern-tex.patch

File 0003-Bugfix-gcc-4.4.7-couldn-t-be-build-with-a-modern-tex.patch, 3.8 KB (added by Goetz Pfeiffer, on 01/12/16 at 09:35:14)

Fix gcc-4.4.7 incompatibility with texinfo 6.0

  • new file tools/4.10/gcc/gcc-core-4.4.7-rtems4.10-20151123.diff

    From f2fa8c6c934981de167a09f6473b3f2cd1881a19 Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?G=C3=B6tz=20Pfeiffer?= <pfeiffer@elbe.acc.bessy.de>
    Date: Thu, 7 Jan 2016 15:13:50 +0100
    Subject: [PATCH 3/4] Bugfix: gcc-4.4.7 couldn't be build with a modern texinfo
     package.
    
    The texinfo documentation of binutils contained some constructs that are
    errors, at least for a modern version of texinfo (version 6.0 and newer). This
    meant that gcc-4.4.7 couldn't be build e.g. on fedora-22.
    
    A patch file was added to fix the problematic parts of the documentation.
    ---
     .../gcc/gcc-core-4.4.7-rtems4.10-20151123.diff     | 86 ++++++++++++++++++++++
     1 file changed, 86 insertions(+)
     create mode 100644 tools/4.10/gcc/gcc-core-4.4.7-rtems4.10-20151123.diff
    
    diff --git a/tools/4.10/gcc/gcc-core-4.4.7-rtems4.10-20151123.diff b/tools/4.10/gcc/gcc-core-4.4.7-rtems4.10-20151123.diff
    new file mode 100644
    index 0000000..a810cfe
    - +  
     1--- gcc-4.4.7-orig/gcc/doc/c-tree.texi  2009-02-20 16:20:38.000000000 +0100
     2+++ gcc-4.4.7/gcc/doc/c-tree.texi       2015-11-17 09:43:59.054448894 +0100
     3@@ -2338,13 +2338,13 @@
     4 not matter.  The type of the operands and that of the result are
     5 always of @code{BOOLEAN_TYPE} or @code{INTEGER_TYPE}.
     6 
     7-@itemx POINTER_PLUS_EXPR
     8+@item  POINTER_PLUS_EXPR
     9 This node represents pointer arithmetic.  The first operand is always
     10 a pointer/reference type.  The second operand is always an unsigned
     11 integer type compatible with sizetype.  This is the only binary
     12 arithmetic operand that can operate on pointer types.
     13 
     14-@itemx PLUS_EXPR
     15+@item  PLUS_EXPR
     16 @itemx MINUS_EXPR
     17 @itemx MULT_EXPR
     18 These nodes represent various binary arithmetic operations.
     19--- gcc-4.4.7-orig/gcc/doc/cppopts.texi 2008-06-15 11:42:13.000000000 +0200
     20+++ gcc-4.4.7/gcc/doc/cppopts.texi      2015-11-17 09:40:09.377639641 +0100
     21@@ -758,7 +758,7 @@
     22 Enable special code to work around file systems which only permit very
     23 short file names, such as MS-DOS@.
     24 
     25-@itemx --help
     26+@item --help
     27 @itemx --target-help
     28 @opindex help
     29 @opindex target-help
     30--- gcc-4.4.7-orig/gcc/doc/invoke.texi  2015-11-16 16:56:48.140502438 +0100
     31+++ gcc-4.4.7/gcc/doc/invoke.texi       2015-11-17 09:55:03.217222123 +0100
     32@@ -4649,11 +4649,11 @@
     33 @option{-fdump-rtl-ce3} enable dumping after the three
     34 if conversion passes.
     35 
     36-@itemx -fdump-rtl-cprop_hardreg
     37+@item -fdump-rtl-cprop_hardreg
     38 @opindex fdump-rtl-cprop_hardreg
     39 Dump after hard register copy propagation.
     40 
     41-@itemx -fdump-rtl-csa
     42+@item -fdump-rtl-csa
     43 @opindex fdump-rtl-csa
     44 Dump after combining stack adjustments.
     45 
     46@@ -4664,11 +4664,11 @@
     47 @option{-fdump-rtl-cse1} and @option{-fdump-rtl-cse2} enable dumping after
     48 the two common sub-expression elimination passes.
     49 
     50-@itemx -fdump-rtl-dce
     51+@item -fdump-rtl-dce
     52 @opindex fdump-rtl-dce
     53 Dump after the standalone dead code elimination passes.
     54 
     55-@itemx -fdump-rtl-dbr
     56+@item -fdump-rtl-dbr
     57 @opindex fdump-rtl-dbr
     58 Dump after delayed branch scheduling.
     59 
     60@@ -4713,7 +4713,7 @@
     61 @opindex fdump-rtl-initvals
     62 Dump after the computation of the initial value sets.
     63 
     64-@itemx -fdump-rtl-into_cfglayout
     65+@item -fdump-rtl-into_cfglayout
     66 @opindex fdump-rtl-into_cfglayout
     67 Dump after converting to cfglayout mode.
     68 
     69@@ -4743,7 +4743,7 @@
     70 @opindex fdump-rtl-rnreg
     71 Dump after register renumbering.
     72 
     73-@itemx -fdump-rtl-outof_cfglayout
     74+@item -fdump-rtl-outof_cfglayout
     75 @opindex fdump-rtl-outof_cfglayout
     76 Dump after converting from cfglayout mode.
     77 
     78@@ -4755,7 +4755,7 @@
     79 @opindex fdump-rtl-postreload
     80 Dump after post-reload optimizations.
     81 
     82-@itemx -fdump-rtl-pro_and_epilogue
     83+@item -fdump-rtl-pro_and_epilogue
     84 @opindex fdump-rtl-pro_and_epilogue
     85 Dump after generating the function pro and epilogues.
     86