https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61420
Paul Thomas <pault at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org --- Comment #10 from Paul Thomas <pault at gcc dot gnu.org> --- Created attachment 39825 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39825&action=edit Patch for this and PR78013 2016-10-17 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-17 Paul Thomas <pa...@gcc.gnu.org> PR fortran/61420 PR fortran/78013 * gfortran.dg/proc_ptr_49.f90: New test. I'll submit to the list in a little while (~1 hour). Paul