aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/primary.c
diff options
context:
space:
mode:
authorPaul Thomas <pault@gcc.gnu.org>2020-12-29 17:37:25 +0000
committerPaul Thomas <pault@gcc.gnu.org>2020-12-29 17:37:25 +0000
commitfeae0af82753e06fbff6103da5fbb3b28e1ddbd7 (patch)
tree3f47e7f4abee7148e23f980847905d4f92c6b343 /gcc/fortran/primary.c
parent02a2d78f7ad05fae2cacd151e6c68456020a2158 (diff)
downloadgcc-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