re PR fortran/82367 (ICE with deferred length string allocate on non-deferred length...
authorSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 10 Jan 2018 23:26:15 +0000 (23:26 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 10 Jan 2018 23:26:15 +0000 (23:26 +0000)
commitbdd82c9b9975a8bca850b99cd5cee75e6ed3c127
treef4a5914f6c206ced8e44b8db873a905434bccc68
parent68dc87c3600fe0b6b629b45e5efc058c32b7bccc
re PR fortran/82367 (ICE with deferred length string allocate on non-deferred length argument)

2018-01-10  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/82367
* resolve.c (resolve_allocate_expr): Check for NULL pointer.

2018-01-10  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/82367
* gfortran.dg/deferred_character_18.f90: New test.

From-SVN: r256464
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/deferred_character_18.f90 [new file with mode: 0644]