On 1/13/26 7:40 AM, Christopher Albert wrote:
The middle-end does not implement array/allocatable LINEAR for OpenMP worksharing loops, which can ICE during OpenMP expansion. Diagnose this case in the Fortran front end with a sorry message instead.Tested on x86_64-pc-linux-gnu. PR fortran/102430 gcc/fortran/ChangeLog: * openmp.cc (resolve_omp_clauses): Reject array/allocatable LINEAR on worksharing-loop constructs. gcc/testsuite/ChangeLog: * gfortran.dg/gomp/pr102430.f90: New test. Signed-off-by: Christopher Albert <[email protected]> ---
Probably something for Tobias to review. I CCed. Regards, Jerry
