From: Tom de Vries Date: Mon, 22 Jun 2015 16:26:08 +0000 (+0000) Subject: Test for flag_parallelize_loops > 1 X-Git-Tag: basepoints/gcc-7~6193 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2b9f69fd8aca416ed8d4eb7b8618c7d23a85eba8;p=thirdparty%2Fgcc.git Test for flag_parallelize_loops > 1 2015-06-22 Tom de Vries * builtins.def (DEF_GOMP_BUILTIN): Test 'flag_tree_parallelize_loops > 1' instead of 'flag_tree_parallelize_loops'. Test flag_cilkplus. From-SVN: r224745 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0817d2444cb2..4b35cb2c3e9d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-06-22 Tom de Vries + + * builtins.def (DEF_GOMP_BUILTIN): Test + 'flag_tree_parallelize_loops > 1' instead of + 'flag_tree_parallelize_loops'. Test flag_cilkplus. + 2015-06-22 Tom de Vries * dominance.c (calculate_dominance_info): Verify dominators if diff --git a/gcc/builtins.def b/gcc/builtins.def index 55ce9f6daa0f..80e4a9cab655 100644 --- a/gcc/builtins.def +++ b/gcc/builtins.def @@ -182,7 +182,9 @@ along with GCC; see the file COPYING3. If not see #define DEF_GOMP_BUILTIN(ENUM, NAME, TYPE, ATTRS) \ DEF_BUILTIN (ENUM, "__builtin_" NAME, BUILT_IN_NORMAL, TYPE, TYPE, \ false, true, true, ATTRS, false, \ - (flag_openmp || flag_tree_parallelize_loops \ + (flag_openmp \ + || flag_tree_parallelize_loops > 1 \ + || flag_cilkplus \ || flag_offload_abi != OFFLOAD_ABI_UNSET)) /* Builtin used by implementation of Cilk Plus. Most of these are decomposed