re PR fortran/91801 (ICE in gfc_simplify_reshape, at fortran/simplify.c:6733)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Tue, 8 Oct 2019 16:31:16 +0000 (16:31 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Tue, 8 Oct 2019 16:31:16 +0000 (16:31 +0000)
commit8cad1ad5ade3fac0a2a796361bf5400d5f385036
tree142cfba8a2c03d3725b73088a5d0d1b125ab797f
parentff2640e58c4f0dfdb71b1828295f5c186a9685da
re PR fortran/91801 (ICE in gfc_simplify_reshape, at fortran/simplify.c:6733)

2019-10-08  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91801
* simplify.c (gfc_simplify_reshape): Convert a gcc_assert into a
gfc_error as a user can easily hit the condition.

2019-10-08  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91801
* gfortran.dg/pr91801.f90: New test.

From-SVN: r276706
gcc/fortran/ChangeLog
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr91801.f90 [new file with mode: 0644]