[Bug fortran/61420] [5/6/7 Regression] [OOP] type-bound procedure returning a procedure pointer fails to compile
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Oct 17 18:22:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61420
--- Comment #11 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Mon Oct 17 17:52:05 2016
New Revision: 241274
URL: https://gcc.gnu.org/viewcvs?rev=241274&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/proc_ptr_49.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/resolve.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list