https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90498
--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Sun May 19 12:32:55 2019 New Revision: 271380 URL: https://gcc.gnu.org/viewcvs?rev=271380&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: trunk/gcc/testsuite/gfortran.dg/associate_48.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-stmt.c trunk/gcc/testsuite/ChangeLog