Hi Jerry!
Am 11.12.25 um 18:59 schrieb Jerry D:
A polite ping.
You aren't expecting volunteers to work 24/7?
On 12/10/25 11:05 AM, Jerry D wrote:
The attached patch from Andre and input from Steve and Harald.
Regression tested on x86_64_linux_gnu.
Ok for mainline? Backport to 15 as it is a rejects valid?
Regards,
Jerry
commit 57bd42f0e96b37b34bc2860e1451568f987988f7
Author: Jerry DeLisle <[email protected]>
Date: Wed Dec 10 10:38:29 2025 -0800
Fortran: Fix wrongly rejected allocatable LOCK_TYPE [PR107406]
PR fortran/107406
gcc/fortran/ChangeLog:
* parse.cc (check_component): Adjust the error check to
require a codimension if the allocatable type has
a non-coarray component.
Can you adjust the text to express that the check applies to
components of LOCK_TYPE?
Otherwise it looks good to me for mainline and backport.
Thanks for the patch!
Harald
gcc/testsuite/ChangeLog:
* gfortran.dg/coarray_lock_3.f90: Remove dg-error on
valid code.
* gfortran.dg/coarray_lock_4.f90: Likewise.
* gfortran.dg/coarray_lock_5.f90: Likwise
Co-Authored by: Andre Vehreschild <[email protected]>