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  <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.
This commit is contained in:
Rainer Orth
2025-11-13 15:03:52 +01:00
parent 7d29780621
commit 2fb2406b3f
3 changed files with 4 additions and 4 deletions

View 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

View 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

View 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}: