https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79072
--- Comment #18 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Wed Nov 22 11:37:16 2017 New Revision: 255053 URL: https://gcc.gnu.org/viewcvs?rev=255053&root=gcc&view=rev Log: 2017-11-22 Paul Thomas <pa...@gcc.gnu.org> PR fortran/79072 * trans-stmt.c (trans_associate_var): Weaken the over strong condition for using the fake result decl. 2017-11-22 Paul Thomas <pa...@gcc.gnu.org> PR fortran/79072 * gfortran.dg/class_result_6.f90: New test for comment 10 of the PR. Added: trunk/gcc/testsuite/gfortran.dg/class_result_6.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-stmt.c trunk/gcc/testsuite/ChangeLog