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

--- 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:9bfc496528d5e82e728cf07c9af69386083d252f

commit r15-10380-g9bfc496528d5e82e728cf07c9af69386083d252f
Author: Harald Anlauf <[email protected]>
Date:   Thu Sep 11 20:17:31 2025 +0200

    Fortran: fix assignment to allocatable scalar polymorphic component
[PR121616]

            PR fortran/121616

    gcc/fortran/ChangeLog:

            * primary.cc (gfc_variable_attr): Properly set dimension attribute
            from a component ref.

    gcc/testsuite/ChangeLog:

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

    (cherry picked from commit 0899b826f7196f609fc8991456eb728802061318)

Reply via email to