diff options
author | Andre Vehreschild <vehre@gcc.gnu.org> | 2025-01-08 12:33:36 +0100 |
---|---|---|
committer | Andre Vehreschild <vehre@gcc.gnu.org> | 2025-02-20 10:31:02 +0100 |
commit | b114312bbaae51567bc0436d07990c4fbaa3c81d (patch) | |
tree | 31786e319c75b8ba720173210e9f725453ed4cf3 /gcc/fortran/gfortran.h | |
parent | 90ba8291c31f2cfb6a8c7bf0c0d6a9d93bbbacc9 (diff) | |
download | gcc-b114312bbaae51567bc0436d07990c4fbaa3c81d.zip gcc-b114312bbaae51567bc0436d07990c4fbaa3c81d.tar.gz gcc-b114312bbaae51567bc0436d07990c4fbaa3c81d.tar.bz2 |
Fortran: Prepare for more caf-rework. [PR107635]
Factor out generation of code to get remote function index and to
create the additional data structure. Rename caf_get_by_ct to
caf_get_from_remote.
gcc/fortran/ChangeLog:
PR fortran/107635
* gfortran.texi: Rename caf_get_by_ct to caf_get_from_remote.
* trans-decl.cc (gfc_build_builtin_function_decls): Rename
intrinsic.
* trans-intrinsic.cc (conv_caf_func_index): Factor out
functionality to be reused by other caf-functions.
(conv_caf_add_call_data): Same.
(gfc_conv_intrinsic_caf_get): Use functions factored out.
* trans.h: Rename intrinsic symbol.
libgfortran/ChangeLog:
* caf/libcaf.h (_gfortran_caf_get_by_ref): Remove from ABI.
This function is replaced by caf_get_from_remote ().
(_gfortran_caf_get_remote_function_index): Use better name.
* caf/single.c (_gfortran_caf_finalize): Free internal data.
(_gfortran_caf_get_by_ref): Remove from public interface, but
keep it, because it is still used by sendget ().
gcc/testsuite/ChangeLog:
* gfortran.dg/coarray_lib_comm_1.f90: Adapt to renamed ABI
function.
* gfortran.dg/coarray_stat_function.f90: Same.
* gfortran.dg/coindexed_1.f90: Same.
Diffstat (limited to 'gcc/fortran/gfortran.h')
0 files changed, 0 insertions, 0 deletions