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: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 May 2007 19:34:41 -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 #6 from dominiq at lps dot ens dot fr 2007-05-31 19:34 -------
In the code in comment #4, you should use:
subroutine test(chars)
character(len=*) :: chars
write(6,*) chars
end subroutine
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32170