r220436 - in /trunk/gcc: fortran/ChangeLog test...

pault@gcc.gnu.org pault@gcc.gnu.org
Thu Feb 5 08:06:00 GMT 2015


Author: pault
Date: Thu Feb  5 08:06:04 2015
New Revision: 220436

URL: https://gcc.gnu.org/viewcvs?rev=220436&root=gcc&view=rev
Log:
2015-02-05  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/64757
	* resolve.c (resolve_structure_cons): Obtain the rank of class
	components.
	* trans-expr.c (gfc_trans_alloc_subarray_assign): Do the
	assignment to allocatable class array components.
	(alloc_scalar_allocatable_for_subcomponent_assignment): If comp
	is a class component, allocate to the _data field.
	(gfc_trans_subcomponent_assign): If a class component with a
	derived type expression set the _vptr field and for array
	components, call gfc_trans_alloc_subarray_assign. For scalars,
	the assignment is performed here.

2015-02-05  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/64757
	* gfortran.dg/type_to_class_2.f90: New test
	* gfortran.dg/type_to_class_3.f90: New test

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list