Hi! On Thu, 30 Oct 2014 17:11:04 -0700, Cesar Philippidis <ce...@codesourcery.com> wrote: > This patch add support for OpenACC's enter/exit data directive.
> gcc/ > * gimple.h (enum gf_mask): Add GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA. Applied to gomp-4_0-branch in r217190: commit 81c45b54c802bd76efc941750c73ca5410e83420 Author: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Thu Nov 6 14:02:27 2014 +0000 Correctly classify OpenACC's enter/exit data directives. gcc/ * gimple.h (is_gimple_omp_oacc_specifically): Return true for GIMPLE_OMP_TARGET's GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-4_0-branch@217190 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog.gomp | 3 +++ gcc/gimple.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git gcc/ChangeLog.gomp gcc/ChangeLog.gomp index 0bc9080..9c997ce 100644 --- gcc/ChangeLog.gomp +++ gcc/ChangeLog.gomp @@ -1,5 +1,8 @@ 2014-11-06 Thomas Schwinge <tho...@codesourcery.com> + * gimple.h (is_gimple_omp_oacc_specifically): Return true for + GIMPLE_OMP_TARGET's GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA. + * omp-low.c (lower_reduction_clauses): Initialize tid. 2014-11-05 Thomas Schwinge <tho...@codesourcery.com> diff --git gcc/gimple.h gcc/gimple.h index 7bc673a..4faeaaa 100644 --- gcc/gimple.h +++ gcc/gimple.h @@ -5867,8 +5867,8 @@ is_gimple_omp_oacc_specifically (const_gimple stmt) switch (gimple_omp_target_kind (stmt)) { case GF_OMP_TARGET_KIND_OACC_DATA: - return true; case GF_OMP_TARGET_KIND_OACC_UPDATE: + case GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA: return true; default: return false; Grüße, Thomas
signature.asc
Description: PGP signature