2014-02-09 Paul Thomas <pault@gcc.gnu.org>
commitb664a6edfacb2c35be957d0e6e505cfc3f424446
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 9 Feb 2014 20:50:21 +0000 (9 20:50 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 9 Feb 2014 20:50:21 +0000 (9 20:50 +0000)
tree71d00773068e77202184e9ae61605c3cd362ea64
parent032f05c9caca9edae40e6043fe1598a9505774f1
2014-02-09  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/57522
* resolve.c (resolve_assoc_var): Set the subref_array_pointer
attribute for the 'associate-name' if necessary.
* trans-stmt.c (trans_associate_var): If the 'associate-name'
is a subref_array_pointer, assign the element size of the
associate variable to 'span'.

2014-02-09  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/57522
* gfortran.dg/associated_target_5.f03 : New test

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207646 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/fortran/trans-stmt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/associated_target_5.f03 [new file with mode: 0644]