[Bug fortran/38437] New: truncation error in endfile

marbertone at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Dec 7 19:46:00 GMT 2008


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



More information about the Gcc-bugs mailing list