diff options
Diffstat (limited to 'gcc/omp-low.c')
-rw-r--r-- | gcc/omp-low.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gcc/omp-low.c b/gcc/omp-low.c index 1399613307e..5daa28178da 100644 --- a/gcc/omp-low.c +++ b/gcc/omp-low.c @@ -3,7 +3,7 @@ marshalling to implement data sharing and copying clauses. Contributed by Diego Novillo <dnovillo@redhat.com> - Copyright (C) 2005-2013 Free Software Foundation, Inc. + Copyright (C) 2005-2014 Free Software Foundation, Inc. This file is part of GCC. @@ -1220,8 +1220,6 @@ omp_copy_decl (tree var, copy_body_data *cb) } -/* Return the parallel region associated with STMT. */ - /* Debugging dumps for parallel regions. */ void dump_omp_region (FILE *, struct omp_region *, int); void debug_omp_region (struct omp_region *); @@ -1822,8 +1820,6 @@ scan_sharing_clauses (tree clauses, omp_context *ctx) /* Create a new name for omp child function. Returns an identifier. */ -static GTY(()) unsigned int tmp_ompfn_id_num; - static tree create_omp_child_function_name (bool task_copy) { @@ -9050,7 +9046,7 @@ lower_omp_for (gimple_stmt_iterator *gsi_p, omp_context *ctx) } /* Callback for walk_stmts. Check if the current statement only contains - GIMPLE_OMP_FOR or GIMPLE_OMP_PARALLEL. */ + GIMPLE_OMP_FOR or GIMPLE_OMP_SECTIONS. */ static tree check_combined_parallel (gimple_stmt_iterator *gsi_p, @@ -10690,7 +10686,7 @@ simd_clone_clauses_extract (struct cgraph_node *node, tree clauses, declare simd". */ bool cilk_clone = (flag_enable_cilkplus - && lookup_attribute ("cilk plus elemental", + && lookup_attribute ("cilk simd function", DECL_ATTRIBUTES (node->decl))); /* Allocate one more than needed just in case this is an in-branch |