https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85981
--- Comment #7 from kargl at gcc dot gnu.org --- Author: kargl Date: Mon Jun 4 16:41:31 2018 New Revision: 261160 URL: https://gcc.gnu.org/viewcvs?rev=261160&root=gcc&view=rev Log: 2018-06-04 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/85981 * resolve.c (resolve_allocate_deallocate): Check errmsg is default character kind. 2018-06-04 Steven G. Kargl <ka...@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. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/allocate_alloc_opt_14.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/resolve.c branches/gcc-8-branch/gcc/testsuite/ChangeLog branches/gcc-8-branch/gcc/testsuite/gfortran.dg/allocate_alloc_opt_1.f90 branches/gcc-8-branch/gcc/testsuite/gfortran.dg/allocate_stat_2.f90 branches/gcc-8-branch/gcc/testsuite/gfortran.dg/deallocate_alloc_opt_1.f90