[PATCH] PR fortran/78479 -- allocate a charlen

Steve Kargl sgk@troutmask.apl.washington.edu
Tue Nov 22 20:56:00 GMT 2016


The patch and ChangeLog shuod be sufficient to explain the change.
Regression tested on x86_64-*-freebsd.  OK to commit?

2016-11-22  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/78479
	* expr.c (gfc_apply_init):  Allocate a charlen if needed.

2016-11-22  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/78479
	* gfortran.dg/pr78479.f90: New test.

-- 
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr78479.diff
Type: text/x-diff
Size: 1092 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20161122/8eb13af5/attachment.bin>


More information about the Fortran mailing list