Fortran: ICE in gfc_compare_array_spec [PR108528]
authorSteve Kargl <kargl@gcc.gnu.org>
Wed, 25 Jan 2023 19:38:43 +0000 (20:38 +0100)
committerHarald Anlauf <anlauf@gmx.de>
Wed, 25 Jan 2023 19:44:40 +0000 (20:44 +0100)
commit9fb9da3d38513d320bfea72050f7a59688595e0b
tree1a02abd4bbc401cac0bc2340e5d7ccbe4471d83e
parent80cf2c5e8f496bed9c6facf55f9ae31d0d90fd28
Fortran: ICE in gfc_compare_array_spec [PR108528]

gcc/fortran/ChangeLog:

PR fortran/108528
* array.cc (compare_bounds): Return false instead of generating an
internal error on an invalid argument type.

gcc/testsuite/ChangeLog:

PR fortran/108528
* gfortran.dg/pr108528.f90: New test.
gcc/fortran/array.cc
gcc/testsuite/gfortran.dg/pr108528.f90 [new file with mode: 0644]