On Tue, Nov 22, 2016 at 11:53:50AM -0800, Cesar Philippidis wrote: > I've incorporated those changes in this patch. Is it ok for trunk?
The ChangeLog mentions omp-low.[ch] changes, but the patch doesn't include them. Have they been dropped, or moved to another patch? > 2016-11-22 Cesar Philippidis <ce...@codesourcery.com> > Thomas Schwinge <tho...@codesourcery.com> > > gcc/c-family/ > * c-attribs.c (c_common_attribute_table): Adjust "omp declare target". > * c-pragma.h (enum pragma_omp_clause): Add PRAGMA_OACC_CLAUSE_BIND > and PRAGMA_OACC_CLAUSE_NOHOST. > > gcc/ > * gimplify.c (gimplify_scan_omp_clauses): Handle OMP_CLAUSE_BIND and > OMP_CLAUSE_NOHOST. > (gimplify_adjust_omp_clauses): Likewise. > * omp-low.c (scan_sharing_clauses): Likewise. > (verify_oacc_routine_clauses): New function. > (maybe_discard_oacc_function): New function. > (execute_oacc_device_lower): Don't generate code for NOHOST. > * omp-low.h (verify_oacc_routine_clauses): Declare. > * tree-core.h (enum omp_clause_code): Add OMP_CLAUSE_BIND and > OMP_CLAUSE_NOHOST. > * tree-pretty-print.c (dump_omp_clause): Likewise. > * tree.c (omp_clause_num_ops): Likewise. > (omp_clause_code_name): Likewise. > (walk_tree_1): Handle OMP_CLAUSE_BIND, OMP_CLAUSE_NOHOST. > * tree.h (OMP_CLAUSE_BIND_NAME): Define. Jakub