re PR fortran/61420 ([OOP] type-bound procedure returning a procedure pointer fails...
authorPaul Thomas <pault@gcc.gnu.org>
Mon, 17 Oct 2016 17:52:05 +0000 (17:52 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Mon, 17 Oct 2016 17:52:05 +0000 (17:52 +0000)
commit871267e19da270df32c9ffe8be194228a14ddd87
tree200ebb8c89c3290e59010b3d9765e835125267cf
parentfd9593e9d2addd7b96ab4da00c4a240edc111fc7
re PR fortran/61420 ([OOP] type-bound procedure returning a procedure pointer fails to compile)

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.

From-SVN: r241274
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/proc_ptr_49.f90 [new file with mode: 0644]