[PATCH] PR fortran/69395 -- don't exceed max allowed array dimensions

Jerry DeLisle jvdelisle@charter.net
Fri Mar 16 01:06:00 GMT 2018


On 03/14/2018 06:23 PM, Steve Kargl wrote:
> The attachedi patch detects situations where the sum of
> an array's rank and corank exceeds the maximum allowed
> by the Standard.  Regression tested on x86_64-*-freebsd.
> 
> 2018-03-14  Steven G. Kargl  <kargl@gcc.gnu.org>
> 
> 	PR fortran/69395
> 	* decl.c (merge_array_spec): Limit the merging to maximum allowed
> 	dimensions, and issue error message if limit is exceeded.
> 
> 2018-03-14  Steven G. Kargl  <kargl@gcc.gnu.org>
> 
> 	PR fortran/69395
> 	* gfortran.dg/pr69395.f90
> 

This looks OK.

Thanks,
Jerry



More information about the Fortran mailing list