This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/63861] OpenACC coarray ICE (also with OpenMP?)


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

--- Comment #13 from cesar at gcc dot gnu.org ---
Author: cesar
Date: Wed Dec  2 19:59:27 2015
New Revision: 231204

URL: https://gcc.gnu.org/viewcvs?rev=231204&root=gcc&view=rev
Log:
        gcc/fortran/
        PR fortran/63861
        * openmp.c (gfc_match_omp_clauses): Allow subarrays for acc reductions.
        (resolve_omp_clauses): Error on any acc reductions on arrays.

        gcc/testsuite/
        * gfortran.dg/goacc/array-reduction.f90: New test.
        * gfortran.dg/goacc/assumed.f95: Update expected diagnostics.
        * gfortran.dg/goacc/coarray.f95: Likewise.
        * gfortran.dg/goacc/coarray_2.f90: Likewise.
        * gfortran.dg/goacc/reduction-2.f95: Likewise.
        * gfortran.dg/goacc/reduction.f95: Likewise.


Added:
    trunk/gcc/testsuite/gfortran.dg/goacc/array-reduction.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/openmp.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/goacc/assumed.f95
    trunk/gcc/testsuite/gfortran.dg/goacc/coarray.f95
    trunk/gcc/testsuite/gfortran.dg/goacc/coarray_2.f90
    trunk/gcc/testsuite/gfortran.dg/goacc/reduction-2.f95
    trunk/gcc/testsuite/gfortran.dg/goacc/reduction.f95

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]