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


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