https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102430
--- Comment #10 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jerry DeLisle <[email protected]>: https://gcc.gnu.org/g:4f40d3a5b0db1041f79b375cafb92a029f6dd742 commit r16-8517-g4f40d3a5b0db1041f79b375cafb92a029f6dd742 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]>
