Gfortran from SVN: "Error: Syntax error in argument list at (1)"
Rob
spamrefuse@yahoo.com
Fri May 4 05:57:00 GMT 2007
Hi,
I have updated GCC/gfortran from svn a few days ago,
and I now get following error with fortran code:
$ /opt/gcc/bin/gfortran -ffree-form -mfp-trap-mode=su
\
-fconvert=little-endian -frecord-marker=8 \
-O3 -c xml.f
In file xml.f:720
,str(
1
Error: Syntax error in argument list at (1)
The code snippet looks like this:
SELECT CASE (FORM)
CASE ("S")
i=LEN_TRIM(str)
WRITE(uixml, \
'(A,"<i type=",1H","string",1H"," \
name=",1H",A,1H",">",A,"</i>")',ADVANCE="Yes") \
blank(1:inden),tag,str(1:i)
(I've added the "\" here to indicate that the lines
continue; of course those are not in the fortran
file, where this is just one long line).
I'm using the GCC/Gfortran on an AlphaServer system.
On other intel based systems, I use the Intel
compiler, which compiles this code without a problem.
Is this then a bug in Gfortran?
Regards,
Rob.
____________________________________________________________________________________
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/
More information about the Fortran
mailing list