https://gcc.gnu.org/g:2fb2406b3fd231e64476c8066584fdcd765df4ae

commit r16-5220-g2fb2406b3fd231e64476c8066584fdcd765df4ae
Author: Rainer Orth <[email protected]>
Date:   Thu Nov 13 15:03:52 2025 +0100

    doc: Fix errors with makeinfo 4.8 [PR122638]
    
    When building trunk on Mac OS X 10.13 with the bundled makeinfo 4.8, I
    ran into a couple of errors:
    
    gcc/doc/install.texi:2675: @option expected braces.
    gcc/doc/install.texi:2675: Misplaced {.
    gcc/doc/install.texi:2675: Misplaced }.
    gcc/doc/install.texi:2675: @code missing close brace.
    
    gcc/fortran/gfortran.texi:1842: First argument to cross-reference may not 
be empty.
    gcc/fortran/gfortran.texi:1903: First argument to cross-reference may not 
be empty.
    gcc/fortran/intrinsic.texi:15549: Unknown command `cindex,'.
    
    However, install.texi states that makeinfo >= 4.7 is required, so this
    should work.
    
    This patch fixes those errors.
    
    Tested on x86_64-apple-darwin17.7.0 (makeinfo 4.8), i386-pc-solaris2.11
    (makeinfo 7.2), and x86_64-pc-linux-gnu (makeinfo 7.1).
    
    2025-10-22  Rainer Orth  <[email protected]>
    
            gcc:
            PR other/122638
            * doc/install.texi (Configuration, --enable-x86-64-mfentry): Fix
            typo.
    
            gcc/fortran:
            PR other/122638
            * gfortran.texi (OpenMP): Fix syntax.
            * intrinsic.texi (UINT): Fix syntax.

Diff:
---
 gcc/doc/install.texi       | 2 +-
 gcc/fortran/gfortran.texi  | 4 ++--
 gcc/fortran/intrinsic.texi | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index d1068dc25ad4..acde0375fba7 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -2669,7 +2669,7 @@ additional @option{-fcf-protection} option.
 
 @item --enable-x86-64-mfentry
 @itemx --disable-x86-64-mfentry
-Enable @option {-mfentry} by default on x86-64 to put the profiling
+Enable @option{-mfentry} by default on x86-64 to put the profiling
 counter call, @code{__fentry__}, before the prologue so that @option{-pg}
 can be used with @option{-fshrink-wrap} which is enabled at @option{-O1}.
 This configure option is 64-bit only because @code{__fentry__} doesn't
diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi
index 841f61350660..3a7d1d43fee7 100644
--- a/gcc/fortran/gfortran.texi
+++ b/gcc/fortran/gfortran.texi
@@ -1839,7 +1839,7 @@ in free form; and the @code{c$}, @code{*$} and @code{!$} 
sentinels
 in fixed form, @command{gfortran} needs to be invoked with the
 @option{-fopenmp} option.  This option also arranges for automatic linking
 of the OpenMP runtime library.
-@xref{,,,libgomp,GNU Offloading and Multi Processing Runtime Library}.
+@xref{Top,,,libgomp,GNU Offloading and Multi Processing Runtime Library}.
 
 The OpenMP Fortran runtime library routines are provided both in a
 form of a Fortran 90 module named @code{omp_lib} and in a form of
@@ -1900,7 +1900,7 @@ sentinels in free form; and the @code{c$}, @code{*$} and 
@code{!$}
 sentinels in fixed form, @command{gfortran} needs to be invoked with
 the @option{-fopenacc} option.  This option also arranges for automatic
 linking of the OpenACC runtime library.
-@xref{,,,libgomp,GNU Offloading and Multi Processing Runtime Library}.
+@xref{Top,,,libgomp,GNU Offloading and Multi Processing Runtime Library}.
 
 The OpenACC Fortran runtime library routines are provided both in a
 form of a Fortran 90 module named @code{openacc} and in a form of a
diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi
index 69cf10caf9db..c4c000b0266a 100644
--- a/gcc/fortran/intrinsic.texi
+++ b/gcc/fortran/intrinsic.texi
@@ -15546,7 +15546,7 @@ Fortran 2008 and later
 @node UINT
 @section @code{UINT} -- Convert to @code{UNSIGNED} type
 @fnindex UINT
-@cindex, conversion, to unsigned
+@cindex conversion, to unsigned
 
 @table @asis
 @item @emph{Synopsis}:

Reply via email to