re PR fortran/85395 ([F03] private clause contained in derived type acquires spurious...
authorJanus Weil <janus@gcc.gnu.org>
Mon, 10 Sep 2018 21:25:33 +0000 (23:25 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Mon, 10 Sep 2018 21:25:33 +0000 (23:25 +0200)
commitd4beaf2a221eb97bc7d074b99777cd780e3e0793
tree6a12ccc8b7d6c83e132bd5e9738cb80daed54d2d
parent6f2dde9cf68ab68eeadad7cf2772bbba01c997ff
re PR fortran/85395 ([F03] private clause contained in derived type acquires spurious scope)

fix PR 85395

2018-09-10  Janus Weil  <janus@gcc.gnu.org>

PR fortran/85395
* decl.c (match_binding_attributes): Use correct default accessibility
for procedure pointer components.

2018-09-10  Janus Weil  <janus@gcc.gnu.org>

PR fortran/85395
* gfortran.dg/proc_ptr_comp_52.f90: New test case.

From-SVN: r264196
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/proc_ptr_comp_52.f90 [new file with mode: 0644]