From: vries Date: Mon, 22 Jun 2015 16:26:08 +0000 (+0000) Subject: Test for flag_parallelize_loops > 1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=11dd476c09277840ec9883692eb4a83136db3c19;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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224745 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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