This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/32235] gfortran - incorrectly position text file after backspace



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]