]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[OpenMP] Add missing parameters to omp_lib documentation (PR fortran/93541)
authorTobias Burnus <tobias@codesourcery.com>
Mon, 3 Feb 2020 11:14:58 +0000 (12:14 +0100)
committerTobias Burnus <tobias@codesourcery.com>
Mon, 3 Feb 2020 11:14:58 +0000 (12:14 +0100)
        Backported from mainline
        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.

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

index ca80c1bcd229afda9b61241bc2f0577f013bce78..0f5b7e60a5046e578b70315adf953dfd4154c1fe 100644 (file)
@@ -1,3 +1,12 @@
+2020-02-03  Tobias Burnus  <tobias@codesourcery.com>
+
+       Backported from mainline
+       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>
 
        Backported from mainline
index f390761dc3d69fd9214e2d41d01d08200460f495..b39c576a8f601e9f2f0e4757ac4182e95ed6069a 100644 (file)
@@ -15017,13 +15017,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
@@ -15054,6 +15057,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