gcc/fortran ChangeLog 2005-07-18 Janne Blomqvist PR fortran/22390 * dump-parse-tree.c (gfc_show_code_node): Add case for FLUSH. * gfortran.h: Add enums for FLUSH. * io.c (gfc_free_filepos): Modify comment appropriately. (match_file_element, match_filepos): Likewise. (gfc_match_flush): New function. * match.c (gfc_match_if): Add match for flush. * match.h: Add prototype. * parse.c (decode_statement): Add flush to 'f' case. (next_statement): Add case for flush. (gfc_ascii_statement): Likewise. * resolve.c (resolve_code): Add flush case. * st.c (gfc_free_statement): Add flush case. * trans-io.c: Add prototype for flush. (gfc_build_io_library_fndecls): Build fndecl for flush. (gfc_trans_flush): New function. * trans-stmt.h: Add prototype. * trans.c (gfc_trans_code): Add case for flush. libgfortran ChangeLog 2005-07-18 Janne Blomqvist PR fortran/22390 * io/file_pos.c: New file, containing code for backspace, endfile, rewind and flush. * io/backspace.c: File removed, contents moved to io/file_pos.c. * io/endfile.c: File removed, contents moved to io/file_pos.c. * io/rewind.c: File removed, contents moved to io/file_pos.c. * Makefile.am: Add file_pos.c to list, remove obsolete files.