https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82934
--- Comment #2 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Fri Nov 10 12:24:24 2017 New Revision: 254624 URL: https://gcc.gnu.org/viewcvs?rev=254624&root=gcc&view=rev Log: 2017-11-10 Paul Thomas <pa...@gcc.gnu.org> PR fortran/82934 * trans-stmt.c (gfc_trans_allocate): Remove the gcc_assert on null string length for assumed length typespec and set expr3_esize to NULL_TREE; 2017-11-10 Paul Thomas <pa...@gcc.gnu.org> PR fortran/82934 * gfortran.dg/allocate_assumed_charlen_1.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/allocate_assumed_charlen_1.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-stmt.c trunk/gcc/testsuite/ChangeLog