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 <pa...@gcc.gnu.org>: https://gcc.gnu.org/g:85fb1d7d5f44a81a52015d58ebe67765faabfd35 commit r11-6523-g85fb1d7d5f44a81a52015d58ebe67765faabfd35 Author: Paul Thomas <pa...@gcc.gnu.org> Date: Thu Jan 7 17:34:49 2021 +0000 Fortran: Improve resolution of associate variables. [PR93701]. 2021-01-07 Paul Thomas <pa...@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.