summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/fortran/ChangeLog5
-rw-r--r--gcc/fortran/f95-lang.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index d9e28b51f9e..ad5d2c8f225 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-15 Sebastian Pop <sebastian.pop@amd.com>
+
+ * f95-lang.c (gfc_init_builtin_functions): Initialize GOMP builtins
+ for flag_tree_parallelize_loops.
+
2008-01-15 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/34671
diff --git a/gcc/fortran/f95-lang.c b/gcc/fortran/f95-lang.c
index a6523c90d30..dcc64b9c38d 100644
--- a/gcc/fortran/f95-lang.c
+++ b/gcc/fortran/f95-lang.c
@@ -1137,7 +1137,7 @@ gfc_init_builtin_functions (void)
#include "../sync-builtins.def"
#undef DEF_SYNC_BUILTIN
- if (gfc_option.flag_openmp)
+ if (gfc_option.flag_openmp || flag_tree_parallelize_loops)
{
#undef DEF_GOMP_BUILTIN
#define DEF_GOMP_BUILTIN(code, name, type, attr) \