2017-11-10 Paul Thomas <pault@gcc.gnu.org>
commit7513b8d609398fa48c16815d627d62bf9bfd5215
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Nov 2017 12:24:24 +0000 (10 12:24 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Nov 2017 12:24:24 +0000 (10 12:24 +0000)
tree14b398d7e1063d2eaaec7b3e0c7797797beeb428
parent9fead2aba033359563906d71090b06d708d6becf
2017-11-10  Paul Thomas  <pault@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  <pault@gcc.gnu.org>

PR fortran/82934
* gfortran.dg/allocate_assumed_charlen_1.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254624 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-stmt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/allocate_assumed_charlen_1.f90 [new file with mode: 0644]