[PATCH] PR fortran/81027 -- Issue error for assumed-shape array

Steve Kargl sgk@troutmask.apl.washington.edu
Wed Dec 26 20:42:00 GMT 2018


Tested on i586-*-freebsd.  OK to commit?

2018-12-25  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/81027
	* expr.c (gfc_check_init_expr): Issue an error message for an
	assumed-shape array as opposed to a deferred-shape array.

2018-12-25  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/81027
	* gfortran.dg/pr81027.f90: New test.

-- 
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr81027.diff
Type: text/x-diff
Size: 1434 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20181226/82a4593e/attachment.bin>


More information about the Fortran mailing list