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

--- Comment #11 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Harald Anlauf
<anl...@gcc.gnu.org>:

https://gcc.gnu.org/g:01324ffac8bcc6813ffbc78993a674bcac7b52ab

commit r15-9645-g01324ffac8bcc6813ffbc78993a674bcac7b52ab
Author: Harald Anlauf <anl...@gmx.de>
Date:   Sat May 3 20:35:57 2025 +0200

    Fortran: array subreferences and components of derived types [PR119986]

            PR fortran/119986

    gcc/fortran/ChangeLog:

            * expr.cc (is_subref_array): When searching for array references,
            do not terminate early so that inquiry references to complex
            components work.
            * primary.cc (gfc_variable_attr): A substring reference can refer
            to either a scalar or array character variable.  Adjust search
            accordingly.

    gcc/testsuite/ChangeLog:

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

    (cherry picked from commit fceb6022798b587c9111d0241aaff72602dcd626)

Reply via email to