re PR fortran/89200 (Erroneous copying of a derived type with a deferred-length chara...
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 9 Feb 2019 11:11:33 +0000 (11:11 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 9 Feb 2019 11:11:33 +0000 (11:11 +0000)
commitaf3da717d627fbd4b6658ea72d443bd0f29f08ee
tree4ff484a0d027d11806d4d9c352ea111013ab7eb4
parentde3ed9259f3b3cda69d44332b194c1c29666c719
re PR fortran/89200 (Erroneous copying of a derived type with a deferred-length character array component)

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

PR fortran/89200
* trans-array.c (gfc_trans_create_temp_array): Set the 'span'
field for derived types.

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

PR fortran/89200
* gfortran.dg/array_reference_2.f90 : New test.

From-SVN: r268721
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/array_reference_2.f90 [new file with mode: 0644]