[PATCH] PR fortran/85981 -- Check kind of errmsg variable.

Steve Kargl sgk@troutmask.apl.washington.edu
Tue May 29 23:25:00 GMT 2018


The new comment in the patch explains the patch.  This was
developed and tested on 8-branch, but will be applied to
trunk prior to committing to branches.  Built and regression
tested on x86_64-*-freebsd.  OK to commit?

2018-05-29  Steven G. Kargl  <kargl@gcc.gnu.org>

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

2018-05-29  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.

-- 
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr85981.diff
Type: text/x-diff
Size: 3811 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20180529/bb266bd0/attachment.bin>


More information about the Fortran mailing list