https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98517
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Paul Thomas <pa...@gcc.gnu.org>: https://gcc.gnu.org/g:039ac05206397227b68436cd1572ac667820c915 commit r10-9297-g039ac05206397227b68436cd1572ac667820c915 Author: Paul Thomas <pa...@gcc.gnu.org> Date: Mon Jan 25 10:27:51 2021 +0000 Fortran: Fix deferred character lengths in array constructors [PR98517]. 2021-01-25 Steve Kargl <ka...@gcc.gnu.org> gcc/fortran PR fortran/98517 * resolve.c (resolve_charlen): Check that length expression is present before testing for scalar/integer.. gcc/testsuite/ PR fortran/98517 * gfortran.dg/charlen_18.f90 : New test. (cherry picked from commit c6b0e33febbf73abfcc2bb0e28f0b62afe3b0f2a)