re PR fortran/92897 ([Coarray] ICE in gfc_set_array_spec, at fortran/array.c:864)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 11 Dec 2019 19:28:57 +0000 (19:28 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 11 Dec 2019 19:28:57 +0000 (19:28 +0000)
commitc7f5b4eddd8b11383074876e45863ae6b92a1357
tree61e92e806f787158d0ff53f923a386853fb4dc40
parenta9046e9853024206bec092dd63e21e152cb5cbca
re PR fortran/92897 ([Coarray] ICE in gfc_set_array_spec, at fortran/array.c:864)

2019-12-11 Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/92897
* array.c (gfc_set_array_spec):  Remove invalid assert() triggered
by invalid Fortran code.

2019-12-11 Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/92897
* gfortran.dg/pr92897.f90: New test.

From-SVN: r279247
gcc/fortran/ChangeLog
gcc/fortran/array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr92897.f90 [new file with mode: 0644]