diff options
author | Jakub Jelinek <jakub@redhat.com> | 2023-11-05 18:32:46 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2023-11-05 18:32:46 +0100 |
commit | 5648446cdaaa808b00c1a975373031016049ad85 (patch) | |
tree | a298173d1527a6a11bcc8cdfb78c7dd4f3ec4ac1 /libgomp/libgomp.texi | |
parent | 26cf06941631c86200ac9050774072531477ef68 (diff) | |
download | gcc-5648446cdaaa808b00c1a975373031016049ad85.zip gcc-5648446cdaaa808b00c1a975373031016049ad85.tar.gz gcc-5648446cdaaa808b00c1a975373031016049ad85.tar.bz2 |
openmp: Mention C attribute syntax in documentation
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.
Diffstat (limited to 'libgomp/libgomp.texi')
-rw-r--r-- | libgomp/libgomp.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgomp/libgomp.texi b/libgomp/libgomp.texi index 02f2d0e..b635f81 100644 --- a/libgomp/libgomp.texi +++ b/libgomp/libgomp.texi @@ -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 |