[Bug libfortran/34323] New: formatted stream ignores advance="no"

tkoenig at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Dec 3 07:18:00 GMT 2007


program main
  open(99,form="formatted",access="stream")
  write (99,'(A)',advance="no") 'a'
  write (99,'(A)',advance="no") 'b'
  close (99)
end program main

should write a single line to file 99, with
the contents
ab

Right now, it writes
a
b


-- 
           Summary: formatted stream ignores advance="no"
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tkoenig at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34323



More information about the Gcc-bugs mailing list