re PR fortran/77596 ([F03] procedure pointer component with implicit interface can...
authorJanus Weil <janus@gcc.gnu.org>
Tue, 8 Nov 2016 16:10:56 +0000 (17:10 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Tue, 8 Nov 2016 16:10:56 +0000 (17:10 +0100)
commiteba5aec8e347d75013268de658efa1c7af93123a
treebb815f15e29ab605ae862ca0d66b1ca1dc275e52
parentc22d8787165e1d8f835bfc3a5e5802c286ace31a
re PR fortran/77596 ([F03] procedure pointer component with implicit interface can point to a function)

2016-11-08  Janus Weil  <janus@gcc.gnu.org>

PR fortran/77596
* expr.c (gfc_check_pointer_assign): Add special check for procedure-
pointer component with absent interface.

2016-11-08  Janus Weil  <janus@gcc.gnu.org>

PR fortran/77596
* gfortran.dg/proc_ptr_comp_46.f90: New test.

From-SVN: r241972
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/proc_ptr_comp_46.f90 [new file with mode: 0644]