This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36894] question on gfortran character*(*)
- 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: 22 Jul 2008 06:48:31 -0000
- Subject: [Bug fortran/36894] question on gfortran character*(*)
- References: <bug-36894-16485@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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