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

--- Comment #1 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Author: tschwinge
Date: Tue Oct 27 16:54:52 2015
New Revision: 229448

URL: https://gcc.gnu.org/viewcvs?rev=229448&root=gcc&view=rev
Log:
[PR fortran/63865] OpenACC cache directive: match Fortran support with C/C++

        gcc/fortran/
        PR fortran/63865
        * openmp.c (resolve_oacc_cache): Remove function.
        (gfc_match_oacc_cache): Enable array sections.
        (resolve_omp_clauses, gfc_resolve_oacc_directive): Change
        accordingly.
        * trans-openmp.c (gfc_trans_omp_clauses): Likewise.
        gcc/testsuite/
        PR fortran/63865
        * gfortran.dg/goacc/coarray.f95: Expect the OpenACC cache
        directive to work.
        * gfortran.dg/goacc/loop-1.f95: Likewise.
        * gfortran.dg/goacc/cache-1.f95: Likewise, and extend testing.
        * gfortran.dg/goacc/cray.f95: Likewise.
        * gfortran.dg/goacc/parameter.f95: Likewise.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/openmp.c
    trunk/gcc/fortran/trans-openmp.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/goacc/cache-1.f95
    trunk/gcc/testsuite/gfortran.dg/goacc/coarray.f95
    trunk/gcc/testsuite/gfortran.dg/goacc/cray.f95
    trunk/gcc/testsuite/gfortran.dg/goacc/loop-1.f95
    trunk/gcc/testsuite/gfortran.dg/goacc/parameter.f95

Reply via email to