2016-10-17 Paul Thomas <pault@gcc.gnu.org>
commit5db34fe57b01080f7bd990dfc5aecbdd6724f941
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Oct 2016 17:52:05 +0000 (17 17:52 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Oct 2016 17:52:05 +0000 (17 17:52 +0000)
tree200ebb8c89c3290e59010b3d9765e835125267cf
parenta68b3ea1194ee1fdc86dd47909bb8e2eb7bf0857
2016-10-17  Paul Thomas  <pault@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  <pault@gcc.gnu.org>

PR fortran/61420
PR fortran/78013
* gfortran.dg/proc_ptr_49.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241274 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/proc_ptr_49.f90 [new file with mode: 0644]