https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113883
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Jerry DeLisle <jvdeli...@gcc.gnu.org>: https://gcc.gnu.org/g:6caec7d9ec37e60e718a12934c85bac9c12757ac commit r14-8947-g6caec7d9ec37e60e718a12934c85bac9c12757ac Author: Steve Kargl <ka...@gcc.gnu.org> Date: Mon Feb 12 20:41:02 2024 -0800 Fortran: Set the length of an allocatable character PR fortran/113883 gcc/fortran/ChangeLog: * trans-array.cc (gfc_trans_deferred_array): Set length to zero, avoiding extraneous diagnostics. gcc/testsuite/ChangeLog: * gfortran.dg/allocatable_length.f90: New test.