[Bug libf2c/17636] [g77 only] "truncation failed in endfile" error when closing a file appended to

ebotcazou at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Oct 1 15:36:00 GMT 2004


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-10-01 15:36 -------
I fail to see why you put back [g77 only]...this is a libf2c bug:

#0  0xff29fbe8 in _libc_kill () from /usr/lib/libc.so.1
(gdb) bt
#0  0xff29fbe8 in _libc_kill () from /usr/lib/libc.so.1
#1  0xff23598c in abort () from /usr/lib/libc.so.1
#2  0xff367594 in sig_die (s=0xff37b440 " IO", kill=1)
    at /home/eric/cvs/gcc-3_4-branch/libf2c/libF77/sig_die.c:28
#3  0xff36b8fc in t_runc (a=0x20fc0)
    at /home/eric/cvs/gcc-3_4-branch/libf2c/libI77/endfile.c:128
#4  0xff36a4b0 in f_clos (a=0x20fc0)
    at /home/eric/cvs/gcc-3_4-branch/libf2c/libI77/close.c:44
#5  0x00010b28 in MAIN__ () at pr17236.f:15
#6  0x00010c00 in main (argc=1, argv=0xffbefc7c)
    at /opt/build/gcc-3.4.2/libf2c/libF77/main.c:28


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17636



More information about the Gcc-bugs mailing list