]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
openmp: Mention C attribute syntax in documentation
authorJakub Jelinek <jakub@redhat.com>
Sun, 5 Nov 2023 17:32:46 +0000 (18:32 +0100)
committerJakub Jelinek <jakub@redhat.com>
Sun, 5 Nov 2023 17:32:46 +0000 (18:32 +0100)
This patch mentions the C attribute syntax support in the libgomp documentation.

2023-11-05  Jakub Jelinek  <jakub@redhat.com>

* libgomp.texi (Enabling OpenMP): Adjust wording for attribute syntax
supported also in C.

libgomp/libgomp.texi

index 02f2d0e5767f99c5aae38bf63dc3ae13c85b1880..b635f81750b9bed0376d2970be5a3c8aa333657f 100644 (file)
@@ -138,7 +138,7 @@ changed to GNU Offloading and Multi Processing Runtime Library.
 
 To activate the OpenMP extensions for C/C++ and Fortran, the compile-time
 flag @option{-fopenmp} must be specified.  For C and C++, this enables
-the handling of the OpenMP directives using @code{#pragma omp} and, for C++, the
+the handling of the OpenMP directives using @code{#pragma omp} and the
 @code{[[omp::directive(...)]]}, @code{[[omp::sequence(...)]]} and
 @code{[[omp::decl(...)]]} attributes.  For Fortran, it enables for
 free source form the @code{!$omp} sentinel for directives and the