This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/32170] string badly passed as function arguments



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]