re PR fortran/85981 (ICE in gfc_trans_string_copy, at fortran/trans-expr.c:6539)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 4 Jun 2018 15:54:48 +0000 (15:54 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 4 Jun 2018 15:54:48 +0000 (15:54 +0000)
commit20ce6adefb26f000e84b92cc3206e0ac85011a24
treec54a1826abfacb95752f85aa19275d2f4bd33f8f
parent37cca345b487d1e43c99ade1caf76994e50f0045
re PR fortran/85981 (ICE in gfc_trans_string_copy, at fortran/trans-expr.c:6539)

2018-06-04  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85981
* resolve.c (resolve_allocate_deallocate): Check errmsg is default
character kind.

2018-06-04  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85981
* gfortran.dg/allocate_alloc_opt_14.f90: New test.
* gfortran.dg/allocate_alloc_opt_1.f90: Update error string.
* gfortran.dg/allocate_stat_2.f90: Ditto.
* gfortran.dg/deallocate_alloc_opt_1.f90: Ditto.

From-SVN: r261154
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/allocate_alloc_opt_1.f90
gcc/testsuite/gfortran.dg/allocate_alloc_opt_14.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/allocate_stat_2.f90
gcc/testsuite/gfortran.dg/deallocate_alloc_opt_1.f90