This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
[Patch, fortran] PR71880 - pointer to allocatable character
- 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, 21 Oct 2018 18:34:03 +0100
- Subject: [Patch, fortran] PR71880 - pointer to allocatable character
- References: <bug-71880-10374@http.gcc.gnu.org/bugzilla/> <bug-71880-10374-kzQyepnNZR@http.gcc.gnu.org/bugzilla/> <CAGkQGiK494sLCVQhx52epg=6d0zp7+DPeadgVPXt=cfxgUNSnw@mail.gmail.com>
Committed as revision 265353.
> Not quite fixed. The lhs character length doesn't get set and so it
> fails at runtime. I will commit the patch as 'obvious'.
>
> Paul
>
> 2018-10-19 Paul Thomas <pault@gcc.gnu.org>
>
> PR fortran/71880
> * trans-expr.c (gfc_trans_pointer_assignment): Set the string
> length for array valued deferred length lhs.
>
> 2018-10-19 Paul Thomas <pault@gcc.gnu.org>
>
> PR fortran/71880
> * gfortran.dg/deferred_character_31.f90 : New test.