[Bug fortran/84504] procedure pointer variables cannot be initialized with functions returning pointers
sriram at pobox dot com
gcc-bugzilla@gcc.gnu.org
Wed Feb 21 21:53:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84504
--- Comment #4 from Sriram Swaminarayan <sriram at pobox dot com> ---
OK, I will admit that my knowledge here is pretty limited so if someone could
point out what I'm missing, I'd appreciate it.
On reading the other thread [PR45290] it appears it deals with pointers being
initialized with other pointers, be they procedure or data.
This compile error has to do with not being able to deal with a specific return
type for a function (i.e. those functions that return pointers). The return
type of a function should have no bearing on whether or not the initialization
should succeed.
More information about the Gcc-bugs
mailing list