2017-02-16 Paul Thomas <pault@gcc.gnu.org>
commit2f78ea2e3f0a990cfcd72c9cf99b45a7a9cfc47d
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Feb 2017 10:52:50 +0000 (20 10:52 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Feb 2017 10:52:50 +0000 (20 10:52 +0000)
tree8afb6a237aa77fa173be94f5c6785ab688583e6e
parentd8cc986ad109d50d4f89949f8aebb8f4b57d3d3d
2017-02-16  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/79382
* decl.c (access_attr_decl): Test for presence of generic DTIO
interface and emit error if not present.

2017-02-16  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/79382
* io/transfer.c (check_dtio_proc): New function.
(formatted_transfer_scalar_read): Use it.
(formatted_transfer_scalar_write): ditto.

2017-02-16  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/79382
* gfortran.dg/dtio_10.f90 : Change test of error message.
* gfortran.dg/dtio_23.f90 : New test.
* gfortran.dg/dtio_24.f90 : New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245596 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/dtio_10.f90
gcc/testsuite/gfortran.dg/dtio_23.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/dtio_24.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/io/transfer.c