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.