diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2020-12-29 17:37:25 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2020-12-29 17:37:25 +0000 |
commit | feae0af82753e06fbff6103da5fbb3b28e1ddbd7 (patch) | |
tree | 3f47e7f4abee7148e23f980847905d4f92c6b343 /gcc/fortran/primary.c | |
parent | 02a2d78f7ad05fae2cacd151e6c68456020a2158 (diff) | |
download | gcc-feae0af82753e06fbff6103da5fbb3b28e1ddbd7.zip gcc-feae0af82753e06fbff6103da5fbb3b28e1ddbd7.tar.gz gcc-feae0af82753e06fbff6103da5fbb3b28e1ddbd7.tar.bz2 |
Fortran: Fix deferred character lengths in array constructors [PR93833].
2020-12-29 Paul Thomas <pault@gcc.gnu.org>
gcc/fortran
PR fortran/93833
* trans-array.c (get_array_ctor_var_strlen): If the character
length backend_decl cannot be found, convert the expression and
use the string length. Clear up some minor white space issues
in the rest of the file.
gcc/testsuite/
PR fortran/93833
* gfortran.dg/deferred_character_36.f90 : New test.
Diffstat (limited to 'gcc/fortran/primary.c')
0 files changed, 0 insertions, 0 deletions