re PR fortran/84504 ([F08] procedure pointer variables cannot be initialized with...
authorJanus Weil <janus@gcc.gnu.org>
Sat, 9 Mar 2019 18:25:39 +0000 (19:25 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Sat, 9 Mar 2019 18:25:39 +0000 (19:25 +0100)
commitb5c26787c4e5d7b13df865edb7439a875c844cfe
treebb7b738abf18de19e93ab1391d37290da0a09f1e
parent660de2bae3b7a301fc19ef877d94ce0a86eaf72b
re PR fortran/84504 ([F08] procedure pointer variables cannot be initialized with functions returning pointers)

fix PR 84504

2019-03-09  Janus Weil  <janus@gcc.gnu.org>

PR fortran/84504
* expr.c (gfc_check_assign_symbol): Deal with procedure pointers to
pointer-valued functions.

2019-03-09  Janus Weil  <janus@gcc.gnu.org>

PR fortran/84504
* gfortran.dg/pointer_init_10.f90: New test case.

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