This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r223445 - in /trunk/gcc: fortran/ChangeLog fort...
- From: vehre at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 20 May 2015 14:56:47 -0000
- Subject: r223445 - in /trunk/gcc: fortran/ChangeLog fort...
Author: vehre
Date: Wed May 20 14:56:47 2015
New Revision: 223445
URL: https://gcc.gnu.org/viewcvs?rev=223445&root=gcc&view=rev
Log:
gcc/fortran/ChangeLog:
2015-05-19 Andre Vehreschild <vehre@gmx.de>
PR fortran/65548
* trans-stmt.c (gfc_trans_allocate): Always retrieve the
descriptor or a reference to a source= expression for
arrays and non-arrays, respectively. Use a temporary
symbol and gfc_trans_assignment for all source=
assignments to allocated objects besides for class and
derived types.
gcc/testsuite/ChangeLog:
2015-05-19 Andre Vehreschild <vehre@gmx.de>
PR fortran/65548
* gfortran.dg/allocate_with_source_5.f90: Extend test.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-stmt.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/allocate_with_source_5.f90