------- Comment #2 from burnus at gcc dot gnu dot org 2007-05-27 23:40 ------- Created an attachment (id=13618) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13618&action=view) decl.c patch (not check-gfortran tested)
Erik, are you still working on this? One should also check that: CALL set_bound(the_beta%parameters(1:which)) is rejected. (This does not seem to call compare_parameter). First step, to get it further is to modify compare_parameter (see attachment). However, this then crashes in trans-expr.c's gfc_conv_function_call (l.2148) [invalid memory access]. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31564