]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc: Fix errors with makeinfo 4.8 [PR122638]
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Thu, 13 Nov 2025 14:03:52 +0000 (15:03 +0100)
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Thu, 13 Nov 2025 14:03:52 +0000 (15:03 +0100)
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  <ro@CeBiTec.Uni-Bielefeld.DE>

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.

gcc/doc/install.texi
gcc/fortran/gfortran.texi
gcc/fortran/intrinsic.texi

index d1068dc25ad44da04b301f4eb28aa8b2050c7f90..acde0375fba71b85b8b550f4deb8932e119399e1 100644 (file)
@@ -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
index 841f6135066043935ca31496e910c69908c0c53e..3a7d1d43fee7a3b00c8ea6483645e3f2b27e299e 100644 (file)
@@ -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
index 69cf10caf9dbb5ba0d00e3e65aa6c93da2285522..c4c000b0266af4a85cbcca6561da5a5e930fdb64 100644 (file)
@@ -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}: