[Bug fortran/54107] [4.8 Regression] [F03] Memory hog with abstract interface
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 28 22:43:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54107
--- Comment #27 from janus at gcc dot gnu.org 2013-01-28 22:42:48 UTC ---
(In reply to comment #26)
> There is one case that remains to be handled. I suppose it is valid if the
> other are valid.
>
> function foo () result(bar)
> procedure(foo), pointer :: bar
> end function
Yes, in principle proc-ptr valued functions are allowed. I don't see why it
wouldn't be valid.
This ICEs for me with 4.6, 4.7 and trunk (with the current patches for this
PR).
More information about the Gcc-bugs
mailing list