From e0e8ce7a38c6dc0a591601e78ed9dad0aa40c103 Mon Sep 17 00:00:00 2001 From: Sebastian Pop Date: Tue, 15 Jan 2008 23:45:28 +0000 Subject: [PATCH] f95-lang.c (gfc_init_builtin_functions): Initialize GOMP builtins for flag_tree_parallelize_loops. 2008-01-15 Sebastian Pop * f95-lang.c (gfc_init_builtin_functions): Initialize GOMP builtins for flag_tree_parallelize_loops. From-SVN: r131556 --- gcc/fortran/ChangeLog | 5 +++++ gcc/fortran/f95-lang.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * f95-lang.c (gfc_init_builtin_functions): Initialize GOMP builtins + for flag_tree_parallelize_loops. + 2008-01-15 Thomas Koenig 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) \