------- Comment #3 from kloedej at knmi dot nl 2008-10-07 11:23 ------- Hi,
thanks for this discussion. I do agree now that this code was invalid. I was thinking otherwise because no compiletime or runtime error was issued by any of the compilers that I tried. Checking this during compilation should at least be possible when the interface of the subroutine is known, so when it is defined inside a module, but gfortran also accepts that case without complaining. best regards, Jos de Kloe. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37746