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

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

https://gcc.gnu.org/g:75de7b2ace83028afa46bdb9a286d66ce1fa26b8

commit r8-10692-g75de7b2ace83028afa46bdb9a286d66ce1fa26b8
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