diff options
author | Tobias Burnus <burnus@net-b.de> | 2010-09-23 11:01:32 +0200 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2010-09-23 11:01:32 +0200 |
commit | 87350d4af5ff329ab694092f0edf91969ef0e2c9 (patch) | |
tree | 3babc81f9abb442236ad18e3dd4648412ff9f973 /gcc | |
parent | 8c91ab34b56a860e60459d56b488054774d4f6ee (diff) | |
download | gcc-87350d4af5ff329ab694092f0edf91969ef0e2c9.zip gcc-87350d4af5ff329ab694092f0edf91969ef0e2c9.tar.gz gcc-87350d4af5ff329ab694092f0edf91969ef0e2c9.tar.bz2 |
intrinsic.texi (OpenMP modules): Add named constants of OMP_LIB.
gcc/fortran/
2010-09-23 Tobias Burnus <burnus@net-b.de>
* intrinsic.texi (OpenMP modules): Add named constants of
OMP_LIB.
libgomp/
2010-09-23 Tobias Burnus <burnus@net-b.de>
* libgomp.texi (omp_get_nested, omp_set_nested,
* omp_set_dynamic):
Change Fortran datatype to LOGICAL.
(omp_set_lock, omp_test_lock, omp_unset_lock, omp_set_nested_lock,
omp_unset_nested_lock): Use intent(inout) instead of intent(out).
From-SVN: r164551
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/fortran/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/fortran/intrinsic.texi | 17 |
2 files changed, 21 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 2860897..d99720e 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2010-09-23 Tobias Burnus <burnus@net-b.de> + + * intrinsic.texi (OpenMP modules): Add named constants of + OMP_LIB. + 2010-09-23 Daniel Kraft <d@domob.eu> PR fortran/38936 diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi index 6259247..bb74a51 100644 --- a/gcc/fortran/intrinsic.texi +++ b/gcc/fortran/intrinsic.texi @@ -12773,7 +12773,7 @@ a form of two Fortran 90 modules, named @code{OMP_LIB} and @code{OMP_LIB_KINDS}, and in a form of a Fortran @code{include} file named @file{omp_lib.h}. The procedures provided by @code{OMP_LIB} can be found in the @ref{Top,,Introduction,libgomp,GNU OpenMP runtime library} manual, -the named constants defined in the @code{OMP_LIB_KINDS} module are listed +the named constants defined in the modules are listed below. For details refer to the actual @@ -12790,3 +12790,18 @@ named constants: @item @code{omp_nest_lock_kind} @item @code{omp_sched_kind} @end table + +@code{OMP_LIB} provides the scalar default-integer +named constant @code{openmp_version} with a value of the form +@var{yyyymm}, where @code{yyyy} is the year and @var{mm} the month +of the OpenMP version; for OpenMP v3.0 the value is @code{200805}. + +And the following scalar integer named constants of the +kind @code{omp_sched_kind}: + +@table @asis +@item @code{omp_sched_static} +@item @code{omp_sched_dynamic} +@item @code{omp_sched_guided} +@item @code{omp_sched_auto} +@end table |