re PR fortran/79382 (DTIO ICE)
authorPaul Thomas <pault@gcc.gnu.org>
Mon, 20 Feb 2017 10:52:50 +0000 (10:52 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Mon, 20 Feb 2017 10:52:50 +0000 (10:52 +0000)
commitdc42a736c9c76adf6b9e98cf121d37c7f64e607b
tree8afb6a237aa77fa173be94f5c6785ab688583e6e
parent1ca6a74f8900cd8e18a5603eaea2c16f4f0d1e36
re PR fortran/79382 (DTIO ICE)

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.

From-SVN: r245596
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