[PATCH] PR fortran/69398 -- Duplicate dimensions and CLASS

Steve Kargl sgk@troutmask.apl.washington.edu
Wed Jun 19 00:20:00 GMT 2019


The attach patch fixes an issue where a CLASS entity
is specified with duplicate dimension.  See the testcase
for an exmaple.  Regression tested on x86_64-*-freebsd.
OK to commit?

2019-06-18  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/69398
	* decl.c (attr_decl): Check for duplicate DIMENSION attribute for a
	CLASS entity.
 
2019-06-18  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/69398
	* gfortran.dg/pr69398.f90: New test.


-- 
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr69398.diff
Type: text/x-diff
Size: 271 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20190619/97aaf0b7/attachment.bin>


More information about the Fortran mailing list