This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/61420] [5/6/7 Regression] [OOP] type-bound procedure returning a procedure pointer fails to compile


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]