https://gcc.gnu.org/g:869df297c7e09b791d655dd084c3095c9d30ef3b

commit r16-6936-g869df297c7e09b791d655dd084c3095c9d30ef3b
Author: supers1ngular <[email protected]>
Date:   Tue Jan 20 10:21:58 2026 -0800

    doc, openmp: Fix Overfull Hboxes for OpenMP Docs
    
    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.

Diff:
---
 gcc/doc/extend.texi | 2 +-
 gcc/doc/invoke.texi | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index b4879b3d82ff..ac86a2e14847 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -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
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 3671a49f03a7..d690305a890a 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -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

Reply via email to