The following was committed to avoid future regression when fixing this bug. 2007-11-13 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/33985 *gfortran.dg/streamio_12.f90: New test to avoid future regression. Jerry