]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/trans.h
check.c (check_co_collective): Renamed from
authorTobias Burnus <burnus@net-b.de>
Thu, 25 Sep 2014 06:07:15 +0000 (08:07 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Thu, 25 Sep 2014 06:07:15 +0000 (08:07 +0200)
commita16ee37946f575365bb39d238863422465902054
treeea6982429800a36515244a6e806f388dff9ccc3b
parent2bde8cac3724cd02c8114275f5c4688f25558859
check.c (check_co_collective): Renamed from

2014-09-25  Tobias Burnus  <burnus@net-b.de>

gcc/fortran
        * check.c (check_co_collective): Renamed from
        * check_co_minmaxsum,
        handle co_reduce.
        (gfc_check_co_minmax, gfc_check_co_sum): Update call.
        (gfc_check_co_broadcast, gfc_check_co_reduce): New.
        * gfortran.h (gfc_isym_id): Add GFC_ISYM_CO_BROADCAST and
        GFC_ISYM_CO_REDUCE.
        * intrinsic.c (add_subroutines): Add co_reduce and co_broadcast.
        * intrinsic.h (gfc_check_co_broadcast, gfc_check_co_reduce): Add
        proto types.
        * intrinsic.texi (CO_BROADCAST): Add.
        * trans.h (gfor_fndecl_co_broadcast): New.
        * trans-decl.c (gfor_fndecl_co_broadcast): Ditto.
        (gfc_build_builtin_function_decls): Add decl for it,
        * trans-intrinsic.c (conv_co_collective): Renamed from
        conv_co_minmaxsum. Handle co_reduce.
        (gfc_conv_intrinsic_subroutine): Handle co_reduce.

gcc/testsuite/
        * gfortran.dg/coarray/collectives_3.f90: New.
        * gfortran.dg/coarray_collectives_9.f90: New.
        * gfortran.dg/coarray_collectives_10.f90: New.
        * gfortran.dg/coarray_collectives_11.f90: New.
        * gfortran.dg/coarray_collectives_12.f90: New.

libgfortran/
        * caf/libcaf.h (_gfortran_caf_co_broadcast): New prototype.
        * caf/single.c (_gfortran_caf_co_broadcast): New.

From-SVN: r215579
18 files changed:
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/fortran/gfortran.h
gcc/fortran/intrinsic.c
gcc/fortran/intrinsic.h
gcc/fortran/intrinsic.texi
gcc/fortran/trans-decl.c
gcc/fortran/trans-intrinsic.c
gcc/fortran/trans.h
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/coarray/collectives_3.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/coarray_collectives_10.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/coarray_collectives_11.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/coarray_collectives_12.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/coarray_collectives_9.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/caf/libcaf.h
libgfortran/caf/single.c