https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70828

--- Comment #2 from cesar at gcc dot gnu.org ---
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

Reply via email to