Committed as r17-2611-g13e2608e6bb6c0.

Found a typo - and noticed that we forgot to add 'scope' to
the list, likely because the work on the documentation update
and the 'scope' change happened independently but concurrently.

In any case, it is now fixed :-)

Tobias
commit 13e2608e6bb6c0b85c55fa9a72e57f0c0e5ba372
Author: Tobias Burnus <[email protected]>
Date:   Wed Jul 22 10:20:26 2026 +0200

    doc/invoke.texi: -fopenmp-ompt - add additional construct
    
    Since commit r17-2560-gf657c8992ffc16, -fopenmp-ompt also affects the
    OpenMP 'scope' construct; document this and sort directives alphabetically.
    
    gcc/ChangeLog:
    
            * doc/invoke.texi (-fopenmp-ompt): Add 'scope' construct.
            (-fopenmp-ompt-detailed): Fix typo.
---
 gcc/doc/invoke.texi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 2c2ed1a003f..5be3851a929 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -5627,9 +5627,9 @@ For some OpenMP constructs, generate calls into the OpenMP runtime before and
 after the region instead of only on region entry.  For those constructs, the
 additional calls are only needed to provide better tracing results in tools
 using the OMPT interface and have a small overhead.  The extra calls are
-generated for the @code{single}, @code{masked}, and @code{master} constructs
-and with static scheduling for the @code{distribute} and worksharing loop
-constructs.  Requires @option{-fopenmp}.
+generated for the @code{masked}, @code{master}, @code{scope}, and @code{single}
+constructs and with static scheduling for the @code{distribute} and worksharing
+loop constructs.  Requires @option{-fopenmp}.
 
 @opindex fopenmp-ompt-detailed
 @opindex fno-openmp-ompt-detailed
@@ -5638,7 +5638,7 @@ constructs.  Requires @option{-fopenmp}.
 Add additional calls into the OpenMP runtime for more detailed tracing via OMPT,
 which might have a measurable effect on the performance.  The option enables
 additional constructs to issue events for the @code{dispatch} callback, which
-is invoked when begining to execute a section or a collapsed iteration in a
+is invoked when beginning to execute a section or a collapsed iteration in a
 @code{taskloop} or worksharing construct.  The additional calls are generated
 with static scheduling for the @code{distribute} and worksharing loop
 constructs.  Implies @option{-fopenmp-ompt} and requires @option{-fopenmp}.

Reply via email to