From: supers1ngular Date: Tue, 20 Jan 2026 18:21:58 +0000 (-0800) Subject: doc, openmp: Fix Overfull Hboxes for OpenMP Docs X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=869df297c7e09b791d655dd084c3095c9d30ef3b;p=thirdparty%2Fgcc.git 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 --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index b4879b3d82f..ac86a2e1484 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 3671a49f03a..d690305a890 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