https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83901
--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Wed Feb 28 17:36:20 2018 New Revision: 258076 URL: https://gcc.gnu.org/viewcvs?rev=258076&root=gcc&view=rev Log: 2018-02-28 Paul Thomas <pa...@gcc.gnu.org> PR fortran/83901 * trans-stmt.c (trans_associate_var): Make sure that the se expression is a pointer type before converting it to the symbol backend_decl type. 2018-02-28 Paul Thomas <pa...@gcc.gnu.org> PR fortran/83901 * gfortran.dg/associate_37.f90: New test. PR fortran/83344 * gfortran.dg/associate_36.f90: Add Steve Kargl as contributer. Added: trunk/gcc/testsuite/gfortran.dg/associate_37.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-stmt.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/associate_36.f90