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

--- Comment #8 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:60db9b6a0af0a8b191d0c1eca7150ac78477e7a1

commit r15-10531-g60db9b6a0af0a8b191d0c1eca7150ac78477e7a1
Author: Harald Anlauf <[email protected]>
Date:   Mon Nov 17 21:20:08 2025 +0100

    Fortran: contiguous pointer assignment to select type target [PR122709]

            PR fortran/122709

    gcc/fortran/ChangeLog:

            * resolve.cc (resolve_assoc_var): If the associate target is a
            contiguous pointer, so is the associate variable.

    gcc/testsuite/ChangeLog:

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

    (cherry picked from commit 61f154cfe18aebb56a6b09564f00410127f933c4)

Reply via email to