diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-12-01 09:20:41 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-12-01 09:20:41 +0100 |
commit | e76c715735e2472429ef7927137a57edc69f98b3 (patch) | |
tree | 165ae147d8776f10fdfe2abc6df4c7b5be2a73ef /gcc/cp/parser.c | |
parent | bebadeca367500cf692d550ff0b464ff732ee808 (diff) | |
download | gcc-e76c715735e2472429ef7927137a57edc69f98b3.zip gcc-e76c715735e2472429ef7927137a57edc69f98b3.tar.gz gcc-e76c715735e2472429ef7927137a57edc69f98b3.tar.bz2 |
function.h (struct function): Remove cilk_frame_decl, is_cilk_function and calls_cilk_spawn fields.
* function.h (struct function): Remove cilk_frame_decl,
is_cilk_function and calls_cilk_spawn fields.
* tree-inline.h (struct copy_body_data): Remove remap_var_for_cilk
field.
* omp-simd-clone.c (simd_clone_clauses_extract): Don't clear
cilk_elemental field.
* cgraph.h (struct cgraph_simd_clone): Remove cilk_elemental field.
* target.def: Adjust comment.
* config/i386/i386.c (ix86_simd_clone_compute_vecsize_and_simdlen):
Don't test cilk_elemental.
c-family/
* c-attribs.c (c_common_attribute_table): Remove "cilk simd function"
attribute.
(handle_simd_attribute): Don't check for "cilk simd function"
attribute. Reindent, formatting changes.
cp/
* parser.c (cp_parser_new): Don't clear cilk_simd_fn_info.
(parsing_nsdmi): Adjust comment.
(cp_parser_omp_for_loop_init): Likewise.
* parser.h (struct cp_omp_declare_simd_data): Adjust comment.
(struct cp_parser): Remove cilk_simd_fn_info field.
* cp-tree.h (cilk_valid_spawn): Remove.
From-SVN: r255300
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r-- | gcc/cp/parser.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 707c6f5..b469d1c 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -3915,7 +3915,6 @@ cp_parser_new (void) /* Special parsing data structures. */ parser->omp_declare_simd = NULL; - parser->cilk_simd_fn_info = NULL; parser->oacc_routine = NULL; /* Not declaring an implicit function template. */ @@ -20675,8 +20674,7 @@ parsing_nsdmi (void) Returns the type indicated by the type-id. In addition to this, parse any queued up #pragma omp declare simd - clauses, Cilk Plus SIMD-enabled functions' vector attributes, and - #pragma acc routine clauses. + clauses, and #pragma acc routine clauses. QUALS is either a bitmask of cv_qualifiers or -1 for a non-member function. */ @@ -34536,8 +34534,7 @@ cp_parser_omp_for_incr (cp_parser *parser, tree decl) return build2 (MODIFY_EXPR, TREE_TYPE (decl), decl, rhs); } -/* Parse the initialization statement of either an OpenMP for loop or - a Cilk Plus for loop. +/* Parse the initialization statement of an OpenMP for loop. Return true if the resulting construct should have an OMP_CLAUSE_PRIVATE added to it. */ |