From e27edcd4526ab71fc35de142e8036b6abfa9be88 Mon Sep 17 00:00:00 2001 From: Thomas Koenig Date: Fri, 9 Sep 2005 19:20:52 +0000 Subject: [PATCH] 2005-09-09 Thomas Koenig gfortran.texi: Document IOSTAT= specifier. From-SVN: r104104 --- gcc/fortran/ChangeLog | 35 +++++++++++++++++++++++++++++++++++ gcc/fortran/gfortran.texi | 7 ++++--- 2 files changed, 39 insertions(+), 3 deletions(-) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index d0753380790e..3ba3781f7c7b 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,38 @@ +2005-09-09 Thomas Koenig + + gfortran.texi: Document IOSTAT= specifier. + +2005-09-09 Thomas Koenig + + * gfortran.h: Add iomsg to gfc_open, gfc_close, gfc_filepos, + gfc_inquire and gfc_dt. + * dump-parse-tree.c (gfc_show_code_node): Add iomsg + for open, close, file positioning, inquire and namelist. + * io.c (io_tag): Add tag_iomsg. + (resolve_tag): Add standards warning for iomsg. + (match_open_element): Add iomsg. + (gfc_free_open): Add iomsg. + (gfc_resolve_open): Add iomsg. + (gfc_free_close): Add iomsg. + (match_close_element): Add iomsg. + (gfc_resolve_close): Add iomsg. + (gfc_free_filepos): Add iomsg. + (match_file_element): Add iomsg. + (gfc_resolve_filepos): Add iostat and iomsg. + (match-dt_element): Add iomsg. + (gfc_free_dt): Add iomsg. + (gfc_resolve_dt): Add iomsg. + (gfc_free_inquire): Add iomsg. + (match_inquire_element): Add iomsg. + (gfc_resolve_inquire): Add iomsg. + * trans_io.c: Add ioparm_iomsg and ioparm_iomsg_len. + (gfc_build_io_library_fndecls): Add iomsg as last field. + (gfc_trans_open): Add iomsg. + (gfc_trans_close): Add iomsg. + (build_fileos): Call set_string for iomsg. + (gfc_trans_inquire): Add iomsg. + (build_dt): Add iomsg. + 2005-09-09 Richard Sandiford * match.h (gfc_match_equiv_variable): Declare. diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi index 5c14d1605337..a4ecee3d9a0a 100644 --- a/gcc/fortran/gfortran.texi +++ b/gcc/fortran/gfortran.texi @@ -986,9 +986,10 @@ Array constructors using square brackets. That is, @code{[...]} rather than @code{(/.../)}. @item -@code{FLUSH} statement. Note that this is not a complete implementation -of the Fortran 2003 @code{FLUSH} statement, as the @code{IOMSG=} -specifier of the I/O statements is not yet implemented. +@code{FLUSH} statement. + +@item +@code{IOMSG=} specifier for I/O statements. @end itemize