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/36894] question on gfortran character*(*)



------- Comment #2 from burnus at gcc dot gnu dot org  2008-07-22 06:48 -------
Both
   character*(*) foo
   character(*) foo

are supported by gfortran. At the moment I cannot imagine a program which works
with the latter and fails with the former. If you have a complete (short!)
example, we could look into the problem, though I would not be surprised if the
code is simply invalid Fortran. Note that using either of the two lines is only
valid for dummy arguments of subroutines/functions (though g77 accepts it also
for local variables).

Thus can you provide us a complete example?

For Fortran programming questions, like Daniel, I would suggest to write to the
comp.lang.fortran newsgroup (which is also available via HTTP at
http://groups.google.com/group/comp.lang.fortran/ ).


-- 


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


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