This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32235] gfortran - incorrectly position text file after backspace
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jun 2007 20:31:28 -0000
- Subject: [Bug fortran/32235] gfortran - incorrectly position text file after backspace
- References: <bug-32235-10129@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from burnus at gcc dot gnu dot org 2007-06-06 20:31 -------
I may do something wrong, but I get with this example always:
read =Three
I tried gfortran, g95, NAG f95, g77 and ifort with the same result.
Additionally, I is a bit unclear how using backspace on standard in (stdin,
unit=5) is supposed to work.
However, I'm able to reporduce the difference with using:
open(5,file='aRead01.in')
In this case gfortran shows "read =Two" whereas with the other compilers
"read =Three" is shown.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32235