]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc, openmp: Fix Overfull Hboxes for OpenMP Docs
authorsupers1ngular <supers1ngular@baylibre.com>
Tue, 20 Jan 2026 18:21:58 +0000 (10:21 -0800)
committersupers1ngular <supers1ngular@baylibre.com>
Tue, 20 Jan 2026 18:34:55 +0000 (10:34 -0800)
Fixes two instances of overfull hboxes in the documentation
for OpenMP.

gcc/ChangeLog:

* doc/extend.texi: Swap samp fields to fix overfull hbox.
* doc/invoke.texi: Ditto.

gcc/doc/extend.texi
gcc/doc/invoke.texi

index b4879b3d82ffc04a77802892c9eba1d4bce9c67d..ac86a2e14847ff419c51b2f5fdd199d2494b5a3c 100644 (file)
@@ -11133,7 +11133,7 @@ GNU Offloading and Multi Processing Runtime Library},
 for more details about currently supported OpenMP features.
 
 To enable the processing of OpenMP directives @samp{#pragma omp},
-@samp{[[omp::directive(...)]]}, @samp{[[omp::decl(...)]]},
+@samp{[[omp::decl(...)]]}, @samp{[[omp::directive(...)]]},
 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
index 3671a49f03a716c67b016712ef9517cbb37ccaf5..d690305a890a39bc5036e3b12a20f4ab978e2a8f 100644 (file)
@@ -5507,7 +5507,7 @@ A size can be omitted, to use a target-specific default value.
 @cindex OpenMP parallel
 @item -fopenmp
 Enable handling of OpenMP directives @samp{#pragma omp},
-@samp{[[omp::directive(...)]]}, @samp{[[omp::decl(...)]]},
+@samp{[[omp::decl(...)]]}, @samp{[[omp::directive(...)]]},
 and @samp{[[omp::sequence(...)]]} in C/C++.  In Fortran, it enables
 @samp{!$omp} and the conditional compilation sentinel @samp{!$}.
 In fixed source form Fortran, the sentinels can also start with