2017-10-07 Thomas Koenig <tkoenig@gcc.gnu.org>
commit233c58a74c69f62fe4c5b7a73a9a92868bb8625a
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 7 Oct 2017 11:43:58 +0000 (7 11:43 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 7 Oct 2017 11:43:58 +0000 (7 11:43 +0000)
tree1e150f3f71f1ff5c5c477a2e6ec7772f6630b939
parenta368f3d3268793cba64fa8f0a2cbe4ffd78a9374
2017-10-07  Thomas Koenig  <tkoenig@gcc.gnu.org>

* gfortran.h (async_io_dt): Add external reference.
* io.c (async_io_dt): Add variable.
(compare_to_allowed_values): Add prototyte. Add optional argument
num. If present, set it to the number of the entry that was
matched.
(check_io_constraints): If this is for an asynchronous I/O
statement, set async_io_dt and set the asynchronous flag for
a SIZE tag.
* resolve.c (resolve_transfer): If async_io_dt is set, set
the asynchronous flag on the variable.
(resolve_fl_namelist): If async_io_dt is set, set the asynchronous
flag on all elements of the namelist.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@253508 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/io.c
gcc/fortran/resolve.c