[Bug fortran/78640] [F2015] gfortran accepts invalid allocatable polymorphic result in pure function
stefano.zaghi at cnr dot it
gcc-bugzilla@gcc.gnu.org
Fri Apr 28 19:56:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78640
--- Comment #3 from Stefano Zaghi <stefano.zaghi at cnr dot it> ---
Yes, I am one who think that respecting this constrain is important: I was not
aware that standard does not allow pure polymorphic functions, thus I mislead
myself from the fact that the compiler did bot complain about this violation.
My best regards.
An enthusiast.
More information about the Gcc-bugs
mailing list