r264288 - in /branches/gcc-7-branch/gcc: fortra...

pault@gcc.gnu.org pault@gcc.gnu.org
Thu Sep 13 19:46:00 GMT 2018


Author: pault
Date: Thu Sep 13 19:46:05 2018
New Revision: 264288

URL: https://gcc.gnu.org/viewcvs?rev=264288&root=gcc&view=rev
Log:
2018-09-13  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/87284
	* trans-expr.c (gfc_trans_class_init_assign): Access to
	to array elements of the dynamic type requires that the array
	reference be added to the class expression and not the _data
	component, unlike scalar expressions.

2018-09-13  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/87284
	* gfortran.dg/allocate_with_mold_2.f90: New test.


Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/allocate_with_mold_2.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/trans-expr.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list