]> git.ipfire.org Git - thirdparty/gcc.git/commit
fortran: Testing patches for coarray shared memory.
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 18 Jul 2025 03:50:42 +0000 (20:50 -0700)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 18 Jul 2025 04:06:28 +0000 (21:06 -0700)
commit6955bb63595259d94a8c8eaba56650fe7652c3cd
treecf918e70cec9f7e19eb651f4c7b40da76fff4554
parent0c473aa8fd1e05d6dfbcd6b4b9fb5497fe1397f1
fortran: Testing patches for coarray shared memory.

pr88076_v2_1.patch
pr88076_v2_2.patch
pr88076_v2_3.patch
pr88076_v2_4.patch
pr88076_v2_5.patch
pr88076_v2_6.patch
coarray_fixes_2.patch

PR fortran/88076

gcc/fortran/ChangeLog:

* check.cc (gfc_check_image_status): Modify
(gfc_check_failed_or_stopped_images): Modify
* coarray.cc (check_add_new_component): Modify
* invoke.texi: Modify
* trans-decl.cc (gfc_build_builtin_function_decls): Modify
* trans-expr.cc (get_scalar_to_descriptor_type): Modify
(copy_coarray_desc_part): Modify
(gfc_class_array_data_assign): Modify
(gfc_conv_derived_to_class): Modify
* trans-intrinsic.cc (conv_intrinsic_image_status): Modify
* trans-stmt.cc (gfc_trans_sync): Modify

libgfortran/ChangeLog:

* Makefile.am: Modify
* Makefile.in: Modify
* caf/libcaf.h (LIBCAF_H): Modify
(_gfortran_caf_failed_images): Modify
(_gfortran_caf_image_status): Modify
(_gfortran_caf_stopped_images): Modify
* caf/single.c (caf_internal_error): Modify
* caf/caf_error.c: New file.
* caf/caf_error.h: New file.
* caf/shmem.c: New file.
* caf/shmem/alloc.c: New file.
* caf/shmem/alloc.h: New file.
* caf/shmem/allocator.c: New file.
* caf/shmem/allocator.h: New file.
* caf/shmem/collective_subroutine.c: New file.
* caf/shmem/collective_subroutine.h: New file.
* caf/shmem/counter_barrier.c: New file.
* caf/shmem/counter_barrier.h: New file.
* caf/shmem/hashmap.c: New file.
* caf/shmem/hashmap.h: New file.
* caf/shmem/shared_memory.c: New file.
* caf/shmem/shared_memory.h: New file.
* caf/shmem/supervisor.c: New file.
* caf/shmem/supervisor.h: New file.
* caf/shmem/sync.c: New file.
* caf/shmem/sync.h: New file.
* caf/shmem/teams_mgmt.c: New file.
* caf/shmem/teams_mgmt.h: New file.
* caf/shmem/thread_support.c: New file.
* caf/shmem/thread_support.h: New file.

gcc/testsuite/ChangeLog:

* gfortran.dg/coarray/alloc_comp_4.f90: Modify
* gfortran.dg/coarray/atomic_2.f90: Modify
* gfortran.dg/coarray/caf.exp: Modify
* gfortran.dg/coarray/coarray_allocated.f90: Modify
* gfortran.dg/coarray/coindexed_1.f90: Modify
* gfortran.dg/coarray/coindexed_3.f08: Modify
* gfortran.dg/coarray/coindexed_5.f90: Modify
* gfortran.dg/coarray/dummy_3.f90: Modify
* gfortran.dg/coarray/event_1.f90: Modify
* gfortran.dg/coarray/event_3.f08: Modify
* gfortran.dg/coarray/event_4.f08: Modify
* gfortran.dg/coarray/failed_images_1.f08: Modify
* gfortran.dg/coarray/failed_images_2.f08: Modify
* gfortran.dg/coarray/image_status_1.f08: Modify
* gfortran.dg/coarray/image_status_2.f08: Modify
* gfortran.dg/coarray/lock_2.f90: Modify
* gfortran.dg/coarray/poly_run_3.f90: Modify
* gfortran.dg/coarray/scalar_alloc_1.f90: Modify
* gfortran.dg/coarray/stopped_images_1.f08: Modify
* gfortran.dg/coarray/stopped_images_2.f08: Modify
* gfortran.dg/coarray/sync_1.f90: Modify
* gfortran.dg/coarray/sync_3.f90: Modify
* gfortran.dg/coarray_sync_memory.f90: Modify
* gfortran.dg/coarray/co_reduce_string.f90: New test.
* gfortran.dg/coarray/sync_team.f90: New test.
59 files changed:
gcc/fortran/check.cc
gcc/fortran/coarray.cc
gcc/fortran/invoke.texi
gcc/fortran/trans-decl.cc
gcc/fortran/trans-expr.cc
gcc/fortran/trans-intrinsic.cc
gcc/fortran/trans-stmt.cc
gcc/testsuite/gfortran.dg/coarray/alloc_comp_4.f90
gcc/testsuite/gfortran.dg/coarray/atomic_2.f90
gcc/testsuite/gfortran.dg/coarray/caf.exp
gcc/testsuite/gfortran.dg/coarray/co_reduce_string.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/coarray/coarray_allocated.f90
gcc/testsuite/gfortran.dg/coarray/coindexed_1.f90
gcc/testsuite/gfortran.dg/coarray/coindexed_3.f08
gcc/testsuite/gfortran.dg/coarray/coindexed_5.f90
gcc/testsuite/gfortran.dg/coarray/dummy_3.f90
gcc/testsuite/gfortran.dg/coarray/event_1.f90
gcc/testsuite/gfortran.dg/coarray/event_3.f08
gcc/testsuite/gfortran.dg/coarray/event_4.f08
gcc/testsuite/gfortran.dg/coarray/failed_images_1.f08
gcc/testsuite/gfortran.dg/coarray/failed_images_2.f08
gcc/testsuite/gfortran.dg/coarray/image_status_1.f08
gcc/testsuite/gfortran.dg/coarray/image_status_2.f08
gcc/testsuite/gfortran.dg/coarray/lock_2.f90
gcc/testsuite/gfortran.dg/coarray/poly_run_3.f90
gcc/testsuite/gfortran.dg/coarray/scalar_alloc_1.f90
gcc/testsuite/gfortran.dg/coarray/stopped_images_1.f08
gcc/testsuite/gfortran.dg/coarray/stopped_images_2.f08
gcc/testsuite/gfortran.dg/coarray/sync_1.f90
gcc/testsuite/gfortran.dg/coarray/sync_3.f90
gcc/testsuite/gfortran.dg/coarray/sync_team.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/coarray_sync_memory.f90
libgfortran/Makefile.am
libgfortran/Makefile.in
libgfortran/caf/caf_error.c [new file with mode: 0644]
libgfortran/caf/caf_error.h [new file with mode: 0644]
libgfortran/caf/libcaf.h
libgfortran/caf/shmem.c [new file with mode: 0644]
libgfortran/caf/shmem/alloc.c [new file with mode: 0644]
libgfortran/caf/shmem/alloc.h [new file with mode: 0644]
libgfortran/caf/shmem/allocator.c [new file with mode: 0644]
libgfortran/caf/shmem/allocator.h [new file with mode: 0644]
libgfortran/caf/shmem/collective_subroutine.c [new file with mode: 0644]
libgfortran/caf/shmem/collective_subroutine.h [new file with mode: 0644]
libgfortran/caf/shmem/counter_barrier.c [new file with mode: 0644]
libgfortran/caf/shmem/counter_barrier.h [new file with mode: 0644]
libgfortran/caf/shmem/hashmap.c [new file with mode: 0644]
libgfortran/caf/shmem/hashmap.h [new file with mode: 0644]
libgfortran/caf/shmem/shared_memory.c [new file with mode: 0644]
libgfortran/caf/shmem/shared_memory.h [new file with mode: 0644]
libgfortran/caf/shmem/supervisor.c [new file with mode: 0644]
libgfortran/caf/shmem/supervisor.h [new file with mode: 0644]
libgfortran/caf/shmem/sync.c [new file with mode: 0644]
libgfortran/caf/shmem/sync.h [new file with mode: 0644]
libgfortran/caf/shmem/teams_mgmt.c [new file with mode: 0644]
libgfortran/caf/shmem/teams_mgmt.h [new file with mode: 0644]
libgfortran/caf/shmem/thread_support.c [new file with mode: 0644]
libgfortran/caf/shmem/thread_support.h [new file with mode: 0644]
libgfortran/caf/single.c