This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Possible bugs with -malign-double
- From: Soohaeng Yoo <syoo70 at gmail dot com>
- To: fortran at gcc dot gnu dot org
- Date: Sat, 24 May 2008 06:23:17 -0500
- Subject: Possible bugs with -malign-double
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; bh=9spusKRTna5GESsqQla9znKrdSJF2fMnf/m+Lx5HS8U=; b=gDe1ti7npDKPmMvnxxH1+5wVHmczZeJD4xIBYS7xKY6J3BsNK4bf50zxvCDxeVlSrs7uddo/05UvJ93AKqwQzJ/rv/HwSMpqAcP7VLuavwaqvbHRHPp0hvma1zhjs+Pi0oOMO00FklAEpoI3REWV8lhD3W6GWQJ+MpDVSbbUooU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=sJ+tSKmlNDN0OLP1nneRO+c4bq4BE5n6Ux5AgPDhUnFXEdjh7hoWDNejPBwvX46e1eaR3OaKvNgo2U8oFCbxbNfFuvaVm5/x0EzzSw7vWNCZpWF5nmTEmNBRtFBzf+ppu7Qay678do2EsejC4hf7NMnmlUyVfGlqNu35KtBRxtU=
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