This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch, fortran] PR80945 - Invalid code with allocatable character array in READ/WRITE statement
- From: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- To: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 18 Feb 2018 09:01:58 +0000
- Subject: [Patch, fortran] PR80945 - Invalid code with allocatable character array in READ/WRITE statement
- Authentication-results: sourceware.org; auth=none
Committed as 'obvious' - revision 257788.
This patch works fine on 7-branch. I will commit it there in a day or
two unless there is any objection.
Cheers
Paul
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.