[committed] openmp: Mention C attribute syntax in documentation

Message ID ZUfTGznWFGz3Db61@tucnak
State Unresolved
Headers
Series [committed] openmp: Mention C attribute syntax in documentation |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

Jakub Jelinek Nov. 5, 2023, 5:38 p.m. UTC
  Hi!

This patch mentions the C attribute syntax support in the libgomp documentation.

Bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk.

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

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


	Jakub
  

Patch

--- libgomp/libgomp.texi.jj	2023-10-16 14:24:46.408203789 +0200
+++ libgomp/libgomp.texi	2023-11-04 09:46:47.200437631 +0100
@@ -138,7 +138,7 @@  changed to GNU Offloading and Multi Proc
 
 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