re PR fortran/80945 (Invalid code with allocatable character array in READ/WRITE...
authorPaul Thomas <pault@gcc.gnu.org>
Sun, 18 Feb 2018 08:59:06 +0000 (08:59 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sun, 18 Feb 2018 08:59:06 +0000 (08:59 +0000)
commitd5ace3059cbf0130403b356a97a34f8103cadf36
treeb26a3232a0db08437d16e829fb863760f9474eaf
parentc83aacaecf39fbc8ce21830c54bfa090a621b7d5
re PR fortran/80945 (Invalid code with allocatable character array in READ/WRITE statement)

2018-02-18  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/80945
* trans-array.c (gfc_conv_expr_descriptor): Set parmtype from
the typenode in the case of deferred length characters.

2018-02-18  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/80945
* gfortran.dg/associate_35.f90: Remove error, add stop n's and
change to run.

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