re PR fortran/85603 (ICE with character array substring assignment)
authorPaul Thomas <pault@gcc.gnu.org>
Tue, 23 Oct 2018 08:27:14 +0000 (08:27 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Tue, 23 Oct 2018 08:27:14 +0000 (08:27 +0000)
commit2efade53fe39a9bd526997fb7cfe1d1d171a715d
treef88479b8fc010c44ef3124ad857c67a3949953bf
parenta847d2b7b142a86b02296a7766a1bc29f36cf7a8
re PR fortran/85603 (ICE with character array substring assignment)

2018-10-23  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/85603
* frontend-passes.c (get_len_call): New function to generate a
call to intrinsic LEN.
(create_var): Use this to make length expressions for variable
rhs string lengths.
Clean up some white space issues.

2018-10-23  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/85603
* gfortran.dg/deferred_character_23.f90 : Check reallocation is
occurring as it should and a regression caused by version 1 of
this patch.

From-SVN: r265412
gcc/fortran/ChangeLog
gcc/fortran/frontend-passes.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/deferred_character_23.f90