[PATCH] OpenACC routines -- middle end

Cesar Philippidis cesar@codesourcery.com
Tue Nov 22 20:01:00 GMT 2016


On 11/22/2016 11:58 AM, Jakub Jelinek wrote:
> 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?

No, sorry I forgot to include them in the diff. This patch should
contain all of the middle end changes.

Cesar

>> 2016-11-22  Cesar Philippidis  <cesar@codesourcery.com>
>> 	    Thomas Schwinge  <thomas@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
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: routine-me-20161122.diff
Type: text/x-patch
Size: 14573 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20161122/a6dd312c/attachment.bin>


More information about the Gcc-patches mailing list