https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90498
--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Sun May 19 18:08:28 2019 New Revision: 271383 URL: https://gcc.gnu.org/viewcvs?rev=271383&root=gcc&view=rev Log: 2019-05-19 Paul Thomas <pa...@gcc.gnu.org> PR fortran/90498 * trans-stmt.c (trans_associate_var) Do not use the saved descriptor if the expression is a COMPONENT_REF. 2019-05-19 Paul Thomas <pa...@gcc.gnu.org> PR fortran/90498 * gfortran.dg/associate_48.f90 : New test. Added: branches/gcc-9-branch/gcc/testsuite/gfortran.dg/associate_48.f90 Modified: branches/gcc-9-branch/gcc/fortran/ChangeLog branches/gcc-9-branch/gcc/fortran/trans-stmt.c branches/gcc-9-branch/gcc/testsuite/ChangeLog