summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/java/lang/Object.java
diff options
context:
space:
mode:
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>2010-01-14 06:17:38 +0000
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>2010-01-14 06:17:38 +0000
commit64a8f98f2b7d200f6b8ddb5970d6f72a45fd4bab (patch)
tree00205ae58b6e5ce1f062de0463815660141dcdc6 /libjava/classpath/java/lang/Object.java
parent21bdb87e1ce8fd7e8c8b31290bfadd66869a686e (diff)
downloadppe42-gcc-64a8f98f2b7d200f6b8ddb5970d6f72a45fd4bab.tar.gz
ppe42-gcc-64a8f98f2b7d200f6b8ddb5970d6f72a45fd4bab.zip
2010-01-14 Paul Thomas <pault@gcc.gnu.org>
PR fortran/41478 * trans-array.c (duplicate_allocatable): Static version of gfc_duplicate_allocatable with provision to handle scalar components. New boolean argument to switch off call to malloc if true. (gfc_duplicate_allocatable): New function to call above with new argument false. (gfc_copy_allocatable_data): New function to call above with new argument true. (structure_alloc_comps): Do not apply indirect reference to scalar pointers. Add new section to copy allocatable components of arrays. Extend copying of allocatable components to include scalars. (gfc_copy_only_alloc_comp): New function to copy allocatable component derived types, without allocating the base structure. * trans-array.h : Add primitive for gfc_copy_allocatable_data. Add primitive for gfc_copy_only_alloc_comp. * trans-expr.c (gfc_conv_procedure_call): After calls to transformational functions with results that are derived types with allocatable components, copy the components in the result. (gfc_trans_arrayfunc_assign): Deallocate allocatable components of lhs derived types before allocation. 2010-01-14 Paul Thomas <pault@gcc.gnu.org> PR fortran/41478 * gfortran.dg/alloc_comp_scalar_1.f90: New test. * gfortran.dg/alloc_comp_transformational_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155877 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/java/lang/Object.java')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud