[Bug fortran/59450] [OOP] ICE for Array Valued Function combined with Deferred Specification Function
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 10 16:18:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59450
--- Comment #3 from janus at gcc dot gnu.org ---
Additional problem (unrelated to the ICE): Removing 'pure' in comment 1 yields
the error:
integer, dimension( this%get_num() ) :: array
1
Error: Function 'this' at (1) must be PURE
An error about missing pureness is correct in principle, but there are two
problems with this:
1) The function name in the error message is wrong: There is no function named
'this'.
2) The error appears twice.
More information about the Gcc-bugs
mailing list