------- Comment #7 from danglin at gcc dot gnu dot org 2010-04-01 21:03 ------- GFORTRAN_UNBUFFERED_ALL=1 doesn't help.
Test runs successfully with "installed" version of libgfortran: -bash-3.2$ ldd PR19872.xg libgfortran.so.3 => /home/dave/opt/gnu/gcc/gcc-4.3.3/lib/libgfortran.so.3 (0x40026000) ... So, problem is in libgfortran. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43572