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).
Approved by Sandra in the PR, committed to trunk.
There are more errors, though, but the required version of makeinfo is
about to be raised, so I didn't address those here.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
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.
# HG changeset patch
# Parent dc97f8c0ed2a15b9bf20a41b5de047aee25a43ff
doc: Fix typo in install.texi
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -2672,7 +2672,7 @@ additional @option{-fcf-protection} opti
@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
--- a/gcc/fortran/gfortran.texi
+++ b/gcc/fortran/gfortran.texi
@@ -1839,7 +1839,7 @@ in free form; and the @code{c$}, @code{*
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$
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
--- 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}: