io.c (resolve_tag_format): New function using code split out and simplified from ...
authorTobias Schlüter <tobi@gcc.gnu.org>
Thu, 20 Sep 2007 18:07:04 +0000 (20:07 +0200)
committerTobias Schlüter <tobi@gcc.gnu.org>
Thu, 20 Sep 2007 18:07:04 +0000 (20:07 +0200)
commitf25bf34f06bd8a1ada0928e402acbe984a199dbb
tree5d70d11e1f3e84c744d4e6efcf146c193d58e28d
parent770a995067e9c215a845f18e74ce29f2f24e240f
io.c (resolve_tag_format): New function using code split out and simplified from ...

fortran/
* io.c (resolve_tag_format): New function using code split out
and simplified from ...
(resolve_tag): ... this function.  Simplify logic.  Unify
IOSTAT, IOLENGTH and SIZE handling.
testsuite/
* gfortran.dg/g77/19981216-0.f: Remove dg-warning annotation.
* gfortran.dg/io_constraints_1.f90: Make a -std=f95 test.  Add
warning annotation.
* gfortran.dg/iostat_3.f90: Make a -std=f95 test.

From-SVN: r128623
gcc/fortran/ChangeLog
gcc/fortran/io.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/g77/19981216-0.f
gcc/testsuite/gfortran.dg/io_constraints_1.f90
gcc/testsuite/gfortran.dg/iostat_3.f90