https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102430
--- Comment #12 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Paul Thomas <[email protected]>: https://gcc.gnu.org/g:aa07d96608165b3f04e7472ab63c246d9a6db2c0 commit r15-11136-gaa07d96608165b3f04e7472ab63c246d9a6db2c0 Author: Christopher Albert <[email protected]> Date: Sun Dec 21 00:33:11 2025 +0100 fortran: Reject array/allocatable LINEAR on DO [PR102430] 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. 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]> (cherry picked from commit 4f40d3a5b0db1041f79b375cafb92a029f6dd742)
