[Bug fortran/93701] ICE on associate of wrongly accessed array

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 7 17:35:03 GMT 2021


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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Paul Thomas <pault@gcc.gnu.org>:

https://gcc.gnu.org/g:85fb1d7d5f44a81a52015d58ebe67765faabfd35

commit r11-6523-g85fb1d7d5f44a81a52015d58ebe67765faabfd35
Author: Paul Thomas <pault@gcc.gnu.org>
Date:   Thu Jan 7 17:34:49 2021 +0000

    Fortran: Improve resolution of associate variables. [PR93701].

    2021-01-07  Paul Thomas  <pault@gcc.gnu.org>

    gcc/fortran
            PR fortran/93701
            * resolve.c (find_array_spec): Put static prototype for
            resolve_assoc_var before this function and call for associate
            variables.

    gcc/testsuite/
            PR fortran/93701
            * gfortran.dg/associate_54.f90: New test.
            * gfortran.dg/associate_55.f90: New test.
            * gfortran.dg/associate_56.f90: New test.


More information about the Gcc-bugs mailing list