Possible bugs with -malign-double
Soohaeng Yoo
syoo70@gmail.com
Sat May 24 11:23:00 GMT 2008
Dear All
I report the possible bugs with the compiler option of '-malign-double'.
--- source code: test.f ---
program bug_report
implicit none
character*10 buf
read (15, '(A)') buf(1:10)
print *, buf
return
end
---------------
---- fort.15 ----
GFORTRAN
------------------
$ gfortran test.f
$ ./a.out
GFORTRAN
$ gfortran -malign-double test.f
$ ./a.out
At line 6 of file test.f (unit = 15, file = 'fort.15')
Fortran runtime error: Missing initial left parenthesis in format
U??????????
--------------
Sincerely,
From Soohaeng Yoo
More information about the Fortran
mailing list