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  <ka...@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  <ka...@gcc.gnu.org>

        PR fortran/69395
        * gfortran.dg/pr69395.f90


This looks OK.

Thanks,
Jerry

Reply via email to