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

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

https://gcc.gnu.org/g:ee9ded19244ab887759eb3faef452ee70316835e

commit r16-5923-gee9ded19244ab887759eb3faef452ee70316835e
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.

Reply via email to