re PR fortran/69395 (ICE on declaring array with more than 7 dimensions+codimensions)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Fri, 16 Mar 2018 02:43:02 +0000 (02:43 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Fri, 16 Mar 2018 02:43:02 +0000 (02:43 +0000)
commit93d1ab50c5a8843e7d6779d4f6956241f8444e50
tree289e0ca4a99997cb08da90b19d15003cf1b3962b
parent39f5f2ed510300026d83e84ac0b2f83f6d55e427
re PR fortran/69395 (ICE on declaring array with more than 7 dimensions+codimensions)

2018-03-15  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-15  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/69395
* gfortran.dg/pr69395.f90: New test.

From-SVN: r258580
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr69395.f90 [new file with mode: 0644]