[OpenMP] Add missing parameters to omp_lib documentation (PR fortran/93541)
authorTobias Burnus <tobias@codesourcery.com>
Mon, 3 Feb 2020 09:02:47 +0000 (10:02 +0100)
committerTobias Burnus <tobias@codesourcery.com>
Mon, 3 Feb 2020 09:02:47 +0000 (10:02 +0100)
PR fortran/93541
* intrinisic.texi (OpenMP Modules OMP_LIB and OMP_LIB_KINDS):
Add undocumented parameters from omp_lib.f90.in.

gcc/fortran/ChangeLog
gcc/fortran/intrinsic.texi

index 570cacbd8471422b3ed8c33fc648865d85100ecd..b74c2ddccb38cae1e1b8b808750ed6d7fd7fdcf4 100644 (file)
@@ -1,3 +1,9 @@
+2020-02-03  Tobias Burnus  <tobias@codesourcery.com>
+
+       PR fortran/93541
+       * intrinisic.texi (OpenMP Modules OMP_LIB and OMP_LIB_KINDS):
+       Add undocumented parameters from omp_lib.f90.in.
+
 2020-02-03  Tobias Burnus  <tobias@codesourcery.com>
 
        PR fortran/93427
index 823cb9cef30368ba490f72c2ce5b9c8d4c045568..842c88b2eba734f4f6667c762feb1d824291c299 100644 (file)
@@ -15307,13 +15307,16 @@ below.
 For details refer to the actual
 @uref{http://www.openmp.org/wp-content/uploads/openmp-4.5.pdf,
 OpenMP Application Program Interface v4.5}.
+And for the @code{pause}-related constants to the OpenMP 5.0 specification.
 
 @code{OMP_LIB_KINDS} provides the following scalar default-integer
 named constants:
 
 @table @asis
 @item @code{omp_lock_kind}
+@item @code{omp_lock_hint_kind}
 @item @code{omp_nest_lock_kind}
+@item @code{omp_pause_resource_kind}
 @item @code{omp_proc_bind_kind}
 @item @code{omp_sched_kind}
 @end table
@@ -15344,6 +15347,24 @@ kind @code{omp_proc_bind_kind}:
 @item @code{omp_proc_bind_spread}
 @end table
 
+The following scalar integer named constants are of the
+kind @code{omp_lock_hint_kind}:
+
+@table @asis
+@item @code{omp_lock_hint_none}
+@item @code{omp_lock_hint_uncontended}
+@item @code{omp_lock_hint_contended}
+@item @code{omp_lock_hint_nonspeculative}
+@item @code{omp_lock_hint_speculative}
+@end table
+
+And the following two scalar integer named constants are of the
+kind @code{omp_pause_resource_kind}:
+
+@table @asis
+@item @code{omp_pause_soft}
+@item @code{omp_pause_hard}
+@end table
 
 
 @node OpenACC Module OPENACC