re PR fortran/80156 (Generic DTIO interface reported missing if public statement...
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 25 Mar 2017 17:38:17 +0000 (17:38 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 25 Mar 2017 17:38:17 +0000 (17:38 +0000)
commit410366864025c2aa6ce1928d1737bc9cc4f752e6
tree38bf17a45d44082c070cf7f7752af91231314254
parent59ba44930fb9d8c1e1c6c3b6de9be7ab77933284
re PR fortran/80156 (Generic DTIO interface reported missing if public statement preceeds the interface block)

2017-03-25  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/80156
PR fortran/79382
* decl.c (access_attr_decl): Remove the error for an absent
generic DTIO interface and ensure that symbol has the flavor
FL_PROCEDURE.

2017-03-25  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/80156
PR fortran/79382
* gfortran.dg/dtio_23.f90 : Remove the dg-error and add the
testcase for PR80156. Add a main programme that tests that
the typebound generic is accessible.

From-SVN: r246476
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/dtio_23.f90