This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: [patch, fortran/libgfortran] Fix PR22390 (FLUSH statement)


On Mon, Jul 11, 2005 at 12:39:47AM +0300, Janne Blomqvist wrote:
> Hello,
> 
> attached patch implements the F2003 FLUSH statement. In addition to
> the patch, there is also a new file libgfortran/io/file_pos.c that
> combines the functionality of the file positioning statements
> previously implemented as well as the new flush. Also, a simple
> testcase that checks that compiling succeeds is attached.

There was some stuff that I had commented out in file_pos.c that I
forgot to delete, and by reading my comments one could get the
impression that flush is a file positioning statement which it isn't
although it uses the same codepath as the file positioning
stuff. Also, the flush_1.f90 testcase had some extra "-" in the
dejagnu instructions. Corrected versions attached.


-- 
Janne Blomqvist

Attachment: file_pos.c
Description: Text document

Attachment: flush_1.f90
Description: Text document


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