From: Tobias Burnus Date: Mon, 3 Feb 2020 09:02:47 +0000 (+0100) Subject: [OpenMP] Add missing parameters to omp_lib documentation (PR fortran/93541) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7c8e1f920a7f85fcf7b69072926a7b6e0a7e49c5;p=gcc.git [OpenMP] Add missing parameters to omp_lib documentation (PR fortran/93541) PR fortran/93541 * intrinisic.texi (OpenMP Modules OMP_LIB and OMP_LIB_KINDS): Add undocumented parameters from omp_lib.f90.in. --- diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 570cacbd847..b74c2ddccb3 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2020-02-03 Tobias Burnus + + 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 PR fortran/93427 diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi index 823cb9cef30..842c88b2eba 100644 --- a/gcc/fortran/intrinsic.texi +++ b/gcc/fortran/intrinsic.texi @@ -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