diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2018-05-19 10:49:50 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2018-05-19 10:49:50 +0000 |
commit | dc32bc72bb8ba03e66c87db9472d6067dd52d09b (patch) | |
tree | 1a59f41d667dd5435d8d2e528952bb688a13f425 /gcc/tree-ssa-coalesce.c | |
parent | 34dbe5e5abe67a9439a6d7fcd2ba9e76fa285d5b (diff) | |
download | gcc-dc32bc72bb8ba03e66c87db9472d6067dd52d09b.zip gcc-dc32bc72bb8ba03e66c87db9472d6067dd52d09b.tar.gz gcc-dc32bc72bb8ba03e66c87db9472d6067dd52d09b.tar.bz2 |
re PR fortran/82923 (Automatic allocation of deferred length character using function result)
2018-05-19 Paul Thomas <pault@gcc.gnu.org>
PR fortran/82923
PR fortran/66694
PR fortran/82617
* trans-array.c (gfc_alloc_allocatable_for_assignment): Set the
charlen backend_decl of the rhs expr to ss->info->string_length
so that the value in the current scope is used.
2018-05-19 Paul Thomas <pault@gcc.gnu.org>
PR fortran/82923
* gfortran.dg/allocate_assumed_charlen_4.f90: New test. Note
that the patch fixes PR66694 & PR82617, although the testcases
are not explicitly included.
From-SVN: r260392
Diffstat (limited to 'gcc/tree-ssa-coalesce.c')
0 files changed, 0 insertions, 0 deletions