This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix for automatic parallelization
Sebastian Pop wrote:
> Index: fortran/f95-lang.c
> ===================================================================
> --- fortran/f95-lang.c (revision 131401)
> +++ fortran/f95-lang.c (working copy)
> @@ -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) \
The Fortran change is OK. (Don't forget to update gcc/fortran/ChangeLog).
Tobias