[PATCH 11/13] Coarray shared memory library

Jerry D jvdelisle2@gmail.com
Sun Feb 15 01:11:38 GMT 2026


On 2/11/26 1:48 AM, Tobias Burnus wrote:
> Jerry D wrote:
>>      Fortran: Fix coarray assignment when rhs is complicated.
>>      gcc/fortran/ChangeLog:
>>              * resolve.cc: Introduce temporary holding rhs when lhs is a
>>              coarray expresssion.
> 
> Likewise: It would be good if there could be a testcase for this.
> 
> Tobias
> 

Attached please find the requested testcase with a new commit to be applied
after the approvaal of the complete patch set.

Author: Jerry DeLisle <jvdelisle@gcc.gnu.org>
Date:   Sat Feb 14 16:59:56 2026 -0800

     Fortran: Add new testcase for PR121360

     This test case is from the PR adjusted to reduce the execution
     time and included a suitable test condition. It was tested with
     export GFORTRAN_NUM_IMAGES=200 which of course takes a bit of
     time.

             PR fortran/121360

     gcc/testsuite/ChangeLog:

             * gfortran.dg/lock_3.f90: New test.

OK when the time comes for mainline?

Jerry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PR121360-test.diff
Type: text/x-patch
Size: 1358 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20260214/c0d7b493/attachment.bin>


More information about the Fortran mailing list