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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Mark Eggleston
<markeggles...@gcc.gnu.org>:

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

commit r10-7507-gbf1f6d8819ade074271df718f01fd3a5a9dc1b82
Author: Mark Eggleston <markeggles...@gcc.gnu.org>
Date:   Thu Apr 2 07:18:52 2020 +0100

    fortran: ICE equivalence with an element of an array PR94030

    Deferred size arrays can not be used in equivalance statements.

    gcc/fortran/ChangeLog:

            PR fortran/94030
            * resolve.c (resolve_equivalence): Correct formatting
            around the label "identical_types".  Instead of using
            gfc_resolve_array_spec use is_non_constants_shape_array
            to determine whether the array can be used in a in an
            equivalence statement.

    gcc/testsuite/ChangeLog:

            PR fortran/94030
            * gfortran.dg/pr94030_1.f90
            * gfortran.dg/pr94030_2.f90

Reply via email to