gfortran.h (async_io_dt): Add external reference.
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 7 Oct 2017 11:43:58 +0000 (11:43 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 7 Oct 2017 11:43:58 +0000 (11:43 +0000)
commita4792d44311895bef287eb9632a1d4936ca8eafb
tree1e150f3f71f1ff5c5c477a2e6ec7772f6630b939
parente923330e1bc5401844a5969f1fd0dab3cd985095
gfortran.h (async_io_dt): Add external reference.

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.

From-SVN: r253508
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/io.c
gcc/fortran/resolve.c