This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Possible bugs with -malign-double


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


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