re PR fortran/50570 (Incorrect error for assignment to intent(in) pointer)
commit6fd7dd571975911d0f8cafe6660c0ab2608d3143
authorJanus Weil <janus@gcc.gnu.org>
Fri, 14 Oct 2011 17:59:29 +0000 (14 19:59 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Fri, 14 Oct 2011 17:59:29 +0000 (14 19:59 +0200)
tree8d8f91fd12d00a01db813b0d977357403fd7e78e
parente14ca379ad80523423ec20f29f186abbcf885b00
re PR fortran/50570 (Incorrect error for assignment to intent(in) pointer)

2011-10-14  Janus Weil  <janus@gcc.gnu.org>

PR fortran/50570
* expr.c (gfc_check_vardef_context): Don't throw an error on
non-pointer assignments involving an intent(in) pointer dummy.

2011-10-14  Janus Weil  <janus@gcc.gnu.org>

PR fortran/50570
* gfortran.dg/pointer_intent_5.f90: New.

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