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 /gcc/fortran/cpp.c | |
parent | e93f30a65fdca10d8881fe1a462eca347b5f58b2 (diff) | |
download | gcc-8ebd1b31828a67ad889f894bc82141e1acafb953.zip gcc-8ebd1b31828a67ad889f894bc82141e1acafb953.tar.gz gcc-8ebd1b31828a67ad889f894bc82141e1acafb953.tar.bz2 |
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 'gcc/fortran/cpp.c')
-rw-r--r-- | gcc/fortran/cpp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/cpp.c b/gcc/fortran/cpp.c index 8ac8092..68ec549 100644 --- a/gcc/fortran/cpp.c +++ b/gcc/fortran/cpp.c @@ -168,7 +168,7 @@ cpp_define_builtins (cpp_reader *pfile) cpp_define (pfile, "_OPENACC=201306"); if (flag_openmp) - cpp_define (pfile, "_OPENMP=201307"); + cpp_define (pfile, "_OPENMP=201511"); /* The defines below are necessary for the TARGET_* macros. |