https://gcc.gnu.org/g:e23390a78680ed3faae00a652f926a06473cfc21
commit e23390a78680ed3faae00a652f926a06473cfc21 Merge: beba09b5c5a2 325fe2262010 Author: Jerry DeLisle <[email protected]> Date: Sun Nov 16 15:00:55 2025 -0800 Merge branch 'devel/gfortran-test' of git+ssh://gcc.gnu.org/git/gcc into devel/gfortran-test Diff: gcc/fortran/check.cc | 11 +- gcc/fortran/invoke.texi | 63 + gcc/fortran/trans-expr.cc | 68 +- gcc/fortran/trans-intrinsic.cc | 6 +- gcc/fortran/trans-stmt.cc | 7 +- gcc/testsuite/gfortran.dg/coarray/alloc_comp_4.f90 | 16 +- gcc/testsuite/gfortran.dg/coarray/atomic_2.f90 | 25 +- gcc/testsuite/gfortran.dg/coarray/caf.exp | 13 + .../gfortran.dg/coarray/co_reduce_string.f90 | 94 + .../gfortran.dg/coarray/coarray_allocated.f90 | 9 +- gcc/testsuite/gfortran.dg/coarray/coindexed_1.f90 | 74 +- gcc/testsuite/gfortran.dg/coarray/coindexed_3.f08 | 4 +- gcc/testsuite/gfortran.dg/coarray/coindexed_5.f90 | 108 +- gcc/testsuite/gfortran.dg/coarray/dummy_3.f90 | 1 + gcc/testsuite/gfortran.dg/coarray/event_1.f90 | 89 +- gcc/testsuite/gfortran.dg/coarray/event_3.f08 | 4 +- gcc/testsuite/gfortran.dg/coarray/event_4.f08 | 3 +- .../gfortran.dg/coarray/failed_images_1.f08 | 2 +- .../gfortran.dg/coarray/failed_images_2.f08 | 39 +- .../gfortran.dg/coarray/image_status_1.f08 | 2 +- .../gfortran.dg/coarray/image_status_2.f08 | 32 +- gcc/testsuite/gfortran.dg/coarray/lock_2.f90 | 2 + gcc/testsuite/gfortran.dg/coarray/poly_run_3.f90 | 8 +- .../gfortran.dg/coarray/scalar_alloc_1.f90 | 13 +- .../gfortran.dg/coarray/stopped_images_1.f08 | 2 +- .../gfortran.dg/coarray/stopped_images_2.f08 | 39 +- gcc/testsuite/gfortran.dg/coarray/sync_1.f90 | 8 +- gcc/testsuite/gfortran.dg/coarray/sync_3.f90 | 26 +- gcc/testsuite/gfortran.dg/coarray/sync_team.f90 | 33 + gcc/testsuite/gfortran.dg/coarray_sync_memory.f90 | 4 +- libgfortran/Makefile.am | 23 +- libgfortran/Makefile.in | 133 +- libgfortran/acinclude.m4 | 12 + libgfortran/caf/caf_error.c | 71 + libgfortran/caf/caf_error.h | 44 + libgfortran/caf/libcaf.h | 12 +- libgfortran/caf/shmem.c | 1906 ++++++++++++++++++++ libgfortran/caf/shmem/alloc.c | 168 ++ libgfortran/caf/shmem/alloc.h | 80 + libgfortran/caf/shmem/allocator.c | 145 ++ libgfortran/caf/shmem/allocator.h | 88 + libgfortran/caf/shmem/collective_subroutine.c | 434 +++++ libgfortran/caf/shmem/collective_subroutine.h | 50 + libgfortran/caf/shmem/counter_barrier.c | 127 ++ libgfortran/caf/shmem/counter_barrier.h | 80 + libgfortran/caf/shmem/hashmap.c | 366 ++++ libgfortran/caf/shmem/hashmap.h | 98 + libgfortran/caf/shmem/shared_memory.c | 292 +++ libgfortran/caf/shmem/shared_memory.h | 96 + libgfortran/caf/shmem/supervisor.c | 550 ++++++ libgfortran/caf/shmem/supervisor.h | 119 ++ libgfortran/caf/shmem/sync.c | 182 ++ libgfortran/caf/shmem/sync.h | 77 + libgfortran/caf/shmem/teams_mgmt.c | 83 + libgfortran/caf/shmem/teams_mgmt.h | 93 + libgfortran/caf/shmem/thread_support.c | 381 ++++ libgfortran/caf/shmem/thread_support.h | 113 ++ libgfortran/caf/single.c | 2 +- libgfortran/config.h.in | 12 + libgfortran/configure | 74 +- libgfortran/configure.ac | 7 +- 61 files changed, 6500 insertions(+), 223 deletions(-) diff --cc libgfortran/Makefile.in index 63c880cddcbb,217a44e81f23..fe9a6ff7a42d --- a/libgfortran/Makefile.in +++ b/libgfortran/Makefile.in @@@ -230,10 -238,10 +240,10 @@@ libgfortran_la_LIBADD @LIBGFOR_MINIMAL_FALSE@ runtime/environ.lo runtime/error.lo \ @LIBGFOR_MINIMAL_FALSE@ runtime/fpu.lo runtime/main.lo \ @LIBGFOR_MINIMAL_FALSE@ runtime/pause.lo runtime/stop.lo - am__objects_3 = runtime/bounds.lo runtime/compile_options.lo \ + am__objects_4 = runtime/bounds.lo runtime/compile_options.lo \ - runtime/memory.lo runtime/string.lo runtime/select.lo \ - $(am__objects_2) $(am__objects_3) + runtime/deep_copy.lo runtime/memory.lo runtime/string.lo \ - runtime/select.lo $(am__objects_1) $(am__objects_2) - am__objects_4 = generated/matmul_i1.lo generated/matmul_i2.lo \ ++ runtime/select.lo $(am__objects_2) $(am__objects_3) + am__objects_5 = generated/matmul_i1.lo generated/matmul_i2.lo \ generated/matmul_i4.lo generated/matmul_i8.lo \ generated/matmul_i16.lo generated/matmul_r4.lo \ generated/matmul_r8.lo generated/matmul_r10.lo \ diff --cc libgfortran/configure index 5cf3bf60f5d3,bdfb0f0317bc..f40a2f52e1cf --- a/libgfortran/configure +++ b/libgfortran/configure @@@ -13221,7 -12852,7 +13226,7 @@@ els lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF - #line 13224 "configure" -#line 12855 "configure" ++#line 13229 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@@ -13327,7 -12958,7 +13332,7 @@@ els lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF - #line 13330 "configure" -#line 12961 "configure" ++#line 13335 "configure" #include "confdefs.h" #if HAVE_DLFCN_H
