diff options
author | vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-06-22 16:26:08 +0000 |
---|---|---|
committer | vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-06-22 16:26:08 +0000 |
commit | 11dd476c09277840ec9883692eb4a83136db3c19 (patch) | |
tree | 1c54d55aca6439a6359a99e6d6cf4221823477a4 /gcc/builtins.def | |
parent | a082866db76d04db4e9dd2d6af45a2f9c20d1fa9 (diff) | |
download | gcc-11dd476c09277840ec9883692eb4a83136db3c19.tar.gz |
Test for flag_parallelize_loops > 1
2015-06-22 Tom de Vries <tom@codesourcery.com>
* 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
Diffstat (limited to 'gcc/builtins.def')
-rw-r--r-- | gcc/builtins.def | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/builtins.def b/gcc/builtins.def index 55ce9f6daa0..80e4a9cab65 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 |