diff options
| author | Mikael Morin <mikael@gcc.gnu.org> | 2015-10-01 14:01:37 +0000 |
|---|---|---|
| committer | Mikael Morin <mikael@gcc.gnu.org> | 2015-10-01 14:01:37 +0000 |
| commit | 94a91ef890918a6b1d7364fc5e4a2de15c7432a0 (patch) | |
| tree | c58f058fe426c87d239b180b0948638063308900 /libjava/java/sql/SQLOutput.h | |
| parent | 22eb3566e0dad8b60529d0156b876ccecfc0683d (diff) | |
Fix missing deep copy when assigning a DT constructor to an array
This adds the missing deep copy when assiging a constructor of a derived
type with allocatable components to an array.
The check for constantness is removed so that the deep_copy argument passed
to gfc_trans_scalar_assign is set to true.
PR fortran/67721
gcc/fortran/
* trans-expr.c (gfc_trans_assignment_1): Remove the non-constantness
condition guarding deep copy.
gcc/testsuite/
* gfortran.dg/alloc_comp_deep_copy_3.f03: New.
From-SVN: r228339
Diffstat (limited to 'libjava/java/sql/SQLOutput.h')
0 files changed, 0 insertions, 0 deletions
