r267368 - in /branches/gcc-8-branch/gcc: fortra...
pault@gcc.gnu.org
pault@gcc.gnu.org
Sun Dec 23 09:33:00 GMT 2018
Author: pault
Date: Sun Dec 23 09:33:43 2018
New Revision: 267368
URL: https://gcc.gnu.org/viewcvs?rev=267368&root=gcc&view=rev
Log:
2018-12-23 Paul Thomas <pault@gcc.gnu.org>
Backport from trunk
PR fortran/77325
* trans-array.c (gfc_alloc_allocatable_for_assignment): If the
rhs has a charlen expression, convert that and use it.
* trans-expr.c (gfc_trans_assignment_1): The rse.pre for the
assignment of deferred character array vars to a realocatable
lhs should not be added to the exterior block since vector
indices, for example, generate temporaries indexed within the
loop.
2018-12-23 Paul Thomas <pault@gcc.gnu.org>
Backport from trunk
PR fortran/77325
* gfortran.dg/deferred_character_22.f90 : New test.
Added:
branches/gcc-8-branch/gcc/testsuite/gfortran.dg/deferred_character_22.f90
Modified:
branches/gcc-8-branch/gcc/fortran/ChangeLog
branches/gcc-8-branch/gcc/fortran/trans-array.c
branches/gcc-8-branch/gcc/fortran/trans-expr.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list