The fortran testsuite routine "/gfortran/gcc/gcc/testsuite/gfortran.fortran-torture/execute/backspace.f90" is actually incorrect - C should actually be 'a' not 'b' - gfortran incorrectly returns 'b' and passes the bad test.
[dranta:~/tests/gfortran] dir% gfortran -o backspace backspace.f90 [dranta:~/tests/gfortran] dir% backspace [dranta:~/tests/gfortran] dir% cat backspace.f90 ! pr 15755 implicit none character*1 C open(10) write(10,*)'a' write(10,*)'b' write(10,*)'c' rewind(10) read(10,*)C backspace(10) read(10,*) C if (C.ne.'b') call abort close(10,STATUS='DELETE') end -- Summary: Error gfortran and in "gfortran.fortran- torture/execute/backspace.f90" Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dir at lanl dot gov CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: powerpc-apple-darwin7.8.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20716