https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61420
--- Comment #12 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Sun Oct 23 21:48:32 2016 New Revision: 241455 URL: https://gcc.gnu.org/viewcvs?rev=241455&root=gcc&view=rev Log: 2016-10-23 Paul Thomas <pa...@gcc.gnu.org> PR fortran/61420 PR fortran/78013 * resolve.c (resolve_variable): Obtain the typespec for a variable expression, when the variable is a function result that is a procedure pointer. 2016-10-23 Paul Thomas <pa...@gcc.gnu.org> PR fortran/61420 PR fortran/78013 * gfortran.dg/proc_ptr_49.f90: New test. Added: branches/gcc-6-branch/gcc/testsuite/gfortran.dg/proc_ptr_49.f90 Modified: branches/gcc-6-branch/gcc/fortran/ChangeLog branches/gcc-6-branch/gcc/fortran/resolve.c branches/gcc-6-branch/gcc/testsuite/ChangeLog