diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2008-11-24 06:34:16 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2008-11-24 06:34:16 +0000 |
commit | 2c69d5275c7efc88be6791d2b3091a18082df7b9 (patch) | |
tree | 997d7059d19cf99dc2c6500197c911b74e98bef1 /ChangeLog | |
parent | e4b9521065765f5ec954d0772a877bd9957478e3 (diff) | |
download | gcc-2c69d5275c7efc88be6791d2b3091a18082df7b9.zip gcc-2c69d5275c7efc88be6791d2b3091a18082df7b9.tar.gz gcc-2c69d5275c7efc88be6791d2b3091a18082df7b9.tar.bz2 |
re PR fortran/34820 (internal compiler error: in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147)
2008-11-24 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34820
* trans-expr.c (gfc_conv_function_call): Remove all code to
deallocate intent out derived types with allocatable
components.
(gfc_trans_assignment_1): An assignment from a scalar to an
array of derived types with allocatable components, requires
a deep copy to each array element and deallocation of the
converted rhs expression afterwards.
* trans-array.c : Minor whitespace.
* trans-decl.c (init_intent_out_dt): Add code to deallocate
allocatable components of derived types with intent out.
(generate_local_decl): If these types are unused, set them
referenced anyway but allow the uninitialized warning.
PR fortran/34143
* trans-expr.c (gfc_trans_subcomponent_assign): If a conversion
expression has a null data pointer argument, nullify the
allocatable component.
PR fortran/32795
* trans-expr.c (gfc_trans_subcomponent_assign): Only nullify
the data pointer if the source is not a variable.
2008-11-24 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34820
* gfortran.dg/alloc_comp_constructor_6.f90 : New test.
* gfortran.dg/alloc_comp_basics_1.f90 : Reduce expected refs to
'builtin_free' from 24 to 18.
PR fortran/34143
* gfortran.dg/alloc_comp_constructor_5.f90 : New test.
PR fortran/32795
* gfortran.dg/alloc_comp_constructor_4.f90 : New test.
From-SVN: r142148
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions