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

--- Comment #12 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Harald Anlauf
<[email protected]>:

https://gcc.gnu.org/g:7978efd69e923732726e8ed1e517fe3a2e34c3dd

commit r15-10590-g7978efd69e923732726e8ed1e517fe3a2e34c3dd
Author: Harald Anlauf <[email protected]>
Date:   Thu Dec 4 22:16:10 2025 +0100

    Fortran: associate to a contiguous pointer or target [PR122977]

            PR fortran/122977

    gcc/fortran/ChangeLog:

            * expr.cc (gfc_is_simply_contiguous): For an associate variable
            check whether the associate target is contiguous.
            * resolve.cc (resolve_symbol): Skip array type check for an
            associate variable when the target has the contiguous attribute.

    gcc/testsuite/ChangeLog:

            * gfortran.dg/contiguous_16.f90: New test.

    (cherry picked from commit ee9ded19244ab887759eb3faef452ee70316835e)

Reply via email to