aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-06-23 12:20:33 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2008-06-23 12:20:33 +0200
commit94b129013e4d9329c14564332b84b1c3c26be840 (patch)
tree2599dcbf1365b0bf425fdc0a39c7038fa0288e33
parentcc774ffbdeae7d73eb364d96e31dbf8239f99a49 (diff)
downloadgcc-94b129013e4d9329c14564332b84b1c3c26be840.zip
gcc-94b129013e4d9329c14564332b84b1c3c26be840.tar.gz
gcc-94b129013e4d9329c14564332b84b1c3c26be840.tar.bz2
re PR fortran/36597 (OpenMP 3: _OPENMP should be 200805 instead of 200505)
PR fortran/36597 * cpp.c (cpp_define_builtins): Change _OPENMP value to 200805. From-SVN: r137034
-rw-r--r--gcc/fortran/ChangeLog5
-rw-r--r--gcc/fortran/cpp.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 7c145e1..da1ac83 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-23 Jakub Jelinek <jakub@redhat.com>
+
+ PR fortran/36597
+ * cpp.c (cpp_define_builtins): Change _OPENMP value to 200805.
+
2008-06-20 Laurynas Biveinis <laurynas.biveinis@gmail.com>
Tobias Burnus <burnus@net-b.de>
diff --git a/gcc/fortran/cpp.c b/gcc/fortran/cpp.c
index 76ab9a3..0498130 100644
--- a/gcc/fortran/cpp.c
+++ b/gcc/fortran/cpp.c
@@ -167,7 +167,7 @@ cpp_define_builtins (cpp_reader *pfile)
cpp_define (pfile, "_LANGUAGE_FORTRAN=1");
if (gfc_option.flag_openmp)
- cpp_define (pfile, "_OPENMP=200505");
+ cpp_define (pfile, "_OPENMP=200805");
/* More builtins that might be useful, but are not documented