This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/38437] New: truncation error in endfile
- From: "marbertone at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Dec 2008 19:45:23 -0000
- Subject: [Bug fortran/38437] New: truncation error in endfile
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Hello,
I?ve got this problem?
*****
endfile: truncation failed in endfile
apparent state: unit 1 named fort.1
last format: list io
lately writing direct formatted external IO
*****
On the file fort.1 I first open it, then read, then close, then write, then
close again?. But this happens randomly and even randomly with the 5 files I
use in my program. The compiler is g77 for windows. On Linux it works perfectly
(w/ gfortran). I really need to fix this problem, could you please suggest me
what I should write inside my code to explain g77 that he should have a good
behavior? :)
Thanks
Mario Alberto Annunziata
--
Summary: truncation error in endfile
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: marbertone at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38437