re PR fortran/54387 ([F03] Wrongly accepts non-proc result variable on the RHS of...
commit37bfd49f329f3c2107068040c1421cfb6ef71fcb
authorJanus Weil <janus@gcc.gnu.org>
Sun, 16 Sep 2012 20:12:21 +0000 (16 22:12 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Sun, 16 Sep 2012 20:12:21 +0000 (16 22:12 +0200)
treea2d74d100a01d6dc9214dc1f4d1b6f03f9947d6b
parent1d1b7dc4221762338014df6586e9ac0cbef2fed7
re PR fortran/54387 ([F03] Wrongly accepts non-proc result variable on the RHS of a proc-pointer assignment)

2012-09-16  Janus Weil  <janus@gcc.gnu.org>

PR fortran/54387
* expr.c (gfc_check_pointer_assign): Check for result of embracing
function.

2012-09-16  Janus Weil  <janus@gcc.gnu.org>

PR fortran/54387
* gfortran.dg/proc_ptr_38.f90: New.

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