------- Comment #3 from mikael dot morin at tele2 dot fr 2007-03-26 05:58 ------- Created an attachment (id=13286) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13286&action=view) the working case
The problem arise when the subroutine is not defined in a contains statement in the main program. I haven't seen anything in the Fortran 2003 standard forcing the subroutines to be in the contains statement. But even if it is the case, the compiler should report an error. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31346