r239554 - in /branches/gomp-4_0-branch: gcc/Cha...
cesar@gcc.gnu.org
cesar@gcc.gnu.org
Thu Aug 18 01:12:00 GMT 2016
Author: cesar
Date: Thu Aug 18 01:12:15 2016
New Revision: 239554
URL: https://gcc.gnu.org/viewcvs?rev=239554&root=gcc&view=rev
Log:
PR middle-end/70828
gcc/
* gimplify.c (struct gimplify_omp_ctx): Add tree clauses member.
(new_omp_context): Initialize clauses to NULL_TREE.
(gimplify_scan_omp_clauses): Set clauses in the gimplify_omp_ctx.
(omp_clause_matching_array_ref): New function.
(gomp_needs_data_present): New function.
(gimplify_adjust_omp_clauses_1): Use preset or pointer omp clause map
kinds when creating implicit data clauses for OpenACC offloaded
variables defined used an acc data region as necessary.
libgomp/
* testsuite/libgomp.oacc-c-c++-common/pr70828.c: New test.
* testsuite/libgomp.oacc-fortran/pr70828.f90: New test.
Added:
branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-c-c++-common/pr70828.c
branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-fortran/pr70828.f90
Modified:
branches/gomp-4_0-branch/gcc/ChangeLog.gomp
branches/gomp-4_0-branch/gcc/gimplify.c
branches/gomp-4_0-branch/libgomp/ChangeLog.gomp
More information about the Gcc-cvs
mailing list