https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102430

--- Comment #13 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Paul Thomas <[email protected]>:

https://gcc.gnu.org/g:2b2014db40dc0f50cce8f2f680e54e3883032f8d

commit r14-12568-g2b2014db40dc0f50cce8f2f680e54e3883032f8d
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)

Reply via email to