re PR fortran/85603 (ICE with character array substring assignment)
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 22 Sep 2018 10:21:25 +0000 (10:21 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 22 Sep 2018 10:21:25 +0000 (10:21 +0000)
commit204d463084b323890918c66032fe8b582ea855d6
treef6f006488947c2f9f56ff68033e5239187131da1
parent0e569a3c7ee5bc9c373f02203bbc252172030b66
re PR fortran/85603 (ICE with character array substring assignment)

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

PR fortran/85603
* trans-array.c (gfc_alloc_allocatable_for_assignment): Test
the charlen backend_decl before using the VAR_P macro.

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

PR fortran/85603
* gfortran.dg/deferred_character_23.f90 : New test.

From-SVN: r264502
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/deferred_character_23.f90 [new file with mode: 0644]