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
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
alloc_comp_1.f90 | Loading commit data... | |
alloc_comp_2.f90 | Loading commit data... | |
alloc_comp_3.f90 | Loading commit data... | |
allocate_errgmsg.f90 | Loading commit data... | |
atomic_1.f90 | Loading commit data... | |
atomic_2.f90 | Loading commit data... | |
caf.exp | Loading commit data... | |
codimension.f90 | Loading commit data... | |
coindexed_1.f90 | Loading commit data... | |
coindexed_3.f90 | Loading commit data... | |
collectives_1.f90 | Loading commit data... | |
collectives_2.f90 | Loading commit data... | |
collectives_3.f90 | Loading commit data... | |
dummy_1.f90 | Loading commit data... | |
get_array.f90 | Loading commit data... | |
image_index_1.f90 | Loading commit data... | |
image_index_2.f90 | Loading commit data... | |
image_index_3.f90 | Loading commit data... | |
lib_realloc_1.f90 | Loading commit data... | |
lock_1.f90 | Loading commit data... | |
move_alloc_1.f90 | Loading commit data... | |
poly_run_1.f90 | Loading commit data... | |
poly_run_2.f90 | Loading commit data... | |
poly_run_3.f90 | Loading commit data... | |
registering_1.f90 | Loading commit data... | |
scalar_alloc_1.f90 | Loading commit data... | |
scalar_alloc_2.f90 | Loading commit data... | |
send_array.f90 | Loading commit data... | |
sendget_array.f90 | Loading commit data... | |
subobject_1.f90 | Loading commit data... | |
sync_1.f90 | Loading commit data... | |
sync_3.f90 | Loading commit data... | |
this_image_1.f90 | Loading commit data... | |
this_image_2.f90 | Loading commit data... |