If gfortran will have a shared-memory coarray implemented, it would be great to also drop the requirement to pass -fcoarray. Other compilers have trended in the direction of dropping the flag too, including Cray and NAG.
Even all these years after Fortran 2008 introduced multi-image execution, I still here vendors talk about the multi-image features as if they are an optional add-on rather than a large and significant feature set that was fully integrated into the language 3 standards ago. Making the flag optional would help to communicate that coarrays are a first-class feature rather than an after-thought. Users who want to link in an external library such as OpenCoarrays (or someday Caffeine?) can still use the flag for that purpose. D On Tue, Jun 24, 2025 at 06:14 Andre Vehreschild <ve...@gmx.de> wrote: > Hi all, > > this is the last patch of the mini-series. It just updates the testcases > common > to coarrays in the gfortran testsuite. All tests in the > gcc/testsuite/gfortran.dg/caf directory are now also run with caf_shmem. > The > test driver ensures, that no more than 8 images are used per testcase (if > not > specified differently by the tester, setting GFORTRAN_NUM_IMAGES > beforehand). > This is to prevent large machines testing on all hardware threads without > any > benefit. The minimum number of images required is 8 and therefore that > number > was chosen. > > Bootstrapped and regtests fine on x86_64-pc-linux-gnu / F41. Ok for > mainline? > > Regards, > Andre > -- > Andre Vehreschild * Email: vehre ad gmx dot de >