]> 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:47:02 +0000 (13:47 +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 72b8e3720a3d7c4c289a2dfc263859d9f81b1357..058f6a24fe99c8c6c48dd4e080b137df4029fed9 100644 (file)
@@ -10679,7 +10679,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}.
@@ -10701,7 +10701,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}.