diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-11-10 18:05:18 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-11-10 18:05:18 +0100 |
commit | 8ebd1b31828a67ad889f894bc82141e1acafb953 (patch) | |
tree | 13c61eab73f4e7bdef9c733eed440aa4db51b241 /libgomp | |
parent | e93f30a65fdca10d8881fe1a462eca347b5f58b2 (diff) | |
download | gcc-8ebd1b31828a67ad889f894bc82141e1acafb953.tar.gz |
cpp.c (cpp_define_builtins): Define _OPENMP to 201511 instead of 201307.
gcc/fortran/
* cpp.c (cpp_define_builtins): Define _OPENMP to 201511 instead
of 201307.
* gfortran.texi: Mention partial OpenMP 4.5 support.
* intrinsic.texi: Update for OpenMP 4.5.
gcc/testsuite/
* gfortran.dg/openmp-define-3.f90: Expect 201511 instead of
201307.
libgomp/
* omp_lib.f90.in (openmp_version): Change to 201511 from 201307.
* omp_lib.h.in (openmp_version): Likewise.
* testsuite/libgomp.fortran/openmp_version-1.f: Expect 201511 instead
of 201307.
* testsuite/libgomp.fortran/openmp_version-2.f90: Likewise.
From-SVN: r242044
Diffstat (limited to 'libgomp')
-rw-r--r-- | libgomp/ChangeLog | 6 | ||||
-rw-r--r-- | libgomp/omp_lib.f90.in | 2 | ||||
-rw-r--r-- | libgomp/omp_lib.h.in | 2 | ||||
-rw-r--r-- | libgomp/testsuite/libgomp.fortran/openmp_version-1.f | 2 | ||||
-rw-r--r-- | libgomp/testsuite/libgomp.fortran/openmp_version-2.f90 | 2 |
5 files changed, 10 insertions, 4 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 920e3780f19..7e32fd00666 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,5 +1,11 @@ 2016-11-10 Jakub Jelinek <jakub@redhat.com> + * omp_lib.f90.in (openmp_version): Change to 201511 from 201307. + * omp_lib.h.in (openmp_version): Likewise. + * testsuite/libgomp.fortran/openmp_version-1.f: Expect 201511 instead + of 201307. + * testsuite/libgomp.fortran/openmp_version-2.f90: Likewise. + * testsuite/libgomp.fortran/examples-4/declare_target-1.f90 (fib_wrapper): Add map(from: x) clause. * testsuite/libgomp.fortran/examples-4/declare_target-2.f90 diff --git a/libgomp/omp_lib.f90.in b/libgomp/omp_lib.f90.in index 149c2e44b9f..2e73ce5f93b 100644 --- a/libgomp/omp_lib.f90.in +++ b/libgomp/omp_lib.f90.in @@ -59,7 +59,7 @@ module omp_lib use omp_lib_kinds implicit none - integer, parameter :: openmp_version = 201307 + integer, parameter :: openmp_version = 201511 interface subroutine omp_init_lock (svar) diff --git a/libgomp/omp_lib.h.in b/libgomp/omp_lib.h.in index 992a8635e48..032b6573ee5 100644 --- a/libgomp/omp_lib.h.in +++ b/libgomp/omp_lib.h.in @@ -58,7 +58,7 @@ parameter (omp_lock_hint_contended = 2) parameter (omp_lock_hint_nonspeculative = 4) parameter (omp_lock_hint_speculative = 8) - parameter (openmp_version = 201307) + parameter (openmp_version = 201511) external omp_init_lock, omp_init_nest_lock external omp_init_lock_with_hint diff --git a/libgomp/testsuite/libgomp.fortran/openmp_version-1.f b/libgomp/testsuite/libgomp.fortran/openmp_version-1.f index be24adcca0c..20ca78a9fed 100644 --- a/libgomp/testsuite/libgomp.fortran/openmp_version-1.f +++ b/libgomp/testsuite/libgomp.fortran/openmp_version-1.f @@ -4,6 +4,6 @@ implicit none include "omp_lib.h" - if (openmp_version .ne. 201307) call abort; + if (openmp_version .ne. 201511) call abort; end program main diff --git a/libgomp/testsuite/libgomp.fortran/openmp_version-2.f90 b/libgomp/testsuite/libgomp.fortran/openmp_version-2.f90 index 62712c7d206..1e0dbec7bc4 100644 --- a/libgomp/testsuite/libgomp.fortran/openmp_version-2.f90 +++ b/libgomp/testsuite/libgomp.fortran/openmp_version-2.f90 @@ -4,6 +4,6 @@ program main use omp_lib implicit none - if (openmp_version .ne. 201307) call abort; + if (openmp_version .ne. 201511) call abort; end program main |