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{}.
---
The text inserted it merely a guess; I'm open to better suggestions.

Noticed with gcc15, so may want backporting.

--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -10667,7 +10667,7 @@ and @samp{[[omp::sequence(...)]]} in C a
 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{Enabling OpenMP,,,libgomp,GNU Offloading and Multi Processing Runtime 
Library}.
 
 @xref{OpenMP and OpenACC Options}, for additional options useful with
 @option{-fopenmp}.
@@ -10689,7 +10689,7 @@ To enable the processing of OpenACC dire
 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{Enabling OpenMP,,,libgomp,GNU Offloading and Multi Processing Runtime 
Library}.
 
 @xref{OpenMP and OpenACC Options}, for additional options useful with
 @option{-fopenacc}.

Reply via email to