------- Comment #4 from jvdelisle at gcc dot gnu dot org 2009-06-29 04:09 ------- I can confirm the regression is from the I/O patch, but not related to format caching. The test case is looping here:
(gdb) bt #0 mem_alloc_w () at ../../../gcc45/libgfortran/io/unix.c:579 #1 mem_write (s=0x601c00, buf=0x7fffffffdd10, nbytes=16) at ../../../gcc45/libgfortran/io/unix.c:622 #2 0x00007ffff7dc780f in swrite () at ../../../gcc45/libgfortran/io/io.h:70 #3 sset (s=0x601c00, c=<value optimized out>, nbyte=16) at ../../../gcc45/libgfortran/io/transfer.c:2869 #4 0x00007ffff7dc8f0f in next_record_w () at ../../../gcc45/libgfortran/io/transfer.c:3002 #5 next_record (dtp=0x7fffffffdfa0, done=1) at ../../../gcc45/libgfortran/io/transfer.c:3058 #6 0x00007fffffffdfa0 in ?? () #7 0x0000000000000000 in ?? () Janne, will you look at this as well please. We are not catching the EOF condition. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40576