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

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

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

commit r9-9127-gea8d2c77e11b7a27d29e2a438536dcd203c206a9
Author: Harald Anlauf <anl...@gmx.de>
Date:   Thu Dec 17 10:31:55 2020 +0100

    PR fortran/98307 - Dependency check fails when using "allocatable"

    The dependency check for FORALL constructs already handled pointer
    components to derived types, but missed allocatables.  Fix that.

    gcc/fortran/ChangeLog:

            PR fortran/98307
            * trans-stmt.c (check_forall_dependencies): Extend dependency
            check to allocatable components of derived types.

    gcc/testsuite/ChangeLog:

            PR fortran/98307
            * gfortran.dg/forall_19.f90: New test.

    (cherry picked from commit c09deceb534b82ce144af3a345dcb06ab5e49ba4)

Reply via email to