]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc: allow extend.texi to be processed by makeinfo 4.13
authorJan Beulich <jbeulich@suse.com>
Wed, 18 Jun 2025 11:43:23 +0000 (13:43 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 18 Jun 2025 11:43:23 +0000 (13:43 +0200)
PR middle-end/120544

As per documentation, even 4.7 ought to suffice. At least 4.13 objects
to there being nothing ahead of the first comma in @xref{}.

gcc/

* doc/extend.texi: Fill first argument of @xref{}.

gcc/doc/extend.texi

index e4f3cc2ad09e506b99f72c8137f89c0c0e3257db..69c6512074642ece47f1f9a3d7bdde20ec800d40 100644 (file)
@@ -10668,7 +10668,7 @@ and @samp{[[omp::sequence(...)]]} in C and C++,
 GCC 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}.
 
 @xref{OpenMP and OpenACC Options}, for additional options useful with
 @option{-fopenmp}.
@@ -10690,7 +10690,7 @@ To enable the processing of OpenACC directives @samp{#pragma acc}
 in C and C++, GCC 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}.
 
 @xref{OpenMP and OpenACC Options}, for additional options useful with
 @option{-fopenacc}.