[Bug fortran/61420] [4.8/4.9/5 Regression] type bound procedure with pass attribute, that returns a procedure pointer, fails to compile

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 25 16:03:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61420

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |janus at gcc dot gnu.org

--- Comment #2 from janus at gcc dot gnu.org ---
Reduced test case:


module test
  implicit none

  type functions
  contains
    procedure :: get_pf
  end type

contains

  function get_pf(f)
    class     (functions)     :: f
    procedure (real), pointer :: get_pf
  end function

end module



More information about the Gcc-bugs mailing list