This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32170] string badly passed as function arguments
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Jun 2007 11:36:52 -0000
- Subject: [Bug fortran/32170] string badly passed as function arguments
- References: <bug-32170-14266@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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