[PATCH] PR fortran/70870 -- Reject data object with default initialization

Steve Kargl sgk@troutmask.apl.washington.edu
Wed May 9 22:32:00 GMT 2018


I plan to commit the attach patch on Saturday unless someone objects.

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

	PR fortran/70870
	* data.c (gfc_assign_data_value): Check that a data object does
	not also have default initialization.

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

	PR fortran/70870
	* gfortran.dg/pr70870_1.f90: New test.

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


More information about the Fortran mailing list