------- Comment #9 from burnus at gcc dot gnu dot org  2007-06-01 11:36 -------
> Indeed, the compiler should report an error ; but it is just an improvement. 
> Still much to learn about Fortran ;)
In Fortran, subroutines and functions in the same file have nothing to do with
each another if they are not contained in the same module/program or used
associated. (This is different to e.g. C.)
The interface checking in the same file is planned for gfortran, see:
http://gcc.gnu.org/wiki/GFortran43


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32170

Reply via email to