re PR fortran/36192 (ICE with wrong index types and bad parens)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 26 Oct 2015 17:39:07 +0000 (17:39 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 26 Oct 2015 17:39:07 +0000 (17:39 +0000)
commit15c918bc7645580d6e48fdcab77fc6a2a3347daf
treec99ee7a2d7b43c2b17dd0633706b17ebae54e920
parentf6c1575958f7bf97c543943f18e7461cb17e43d5
re PR fortran/36192 (ICE with wrong index types and bad parens)

2015-10-26  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/36192
* array.c (gfc_ref_dimen_size): Check for BT_INTEGER before calling
mpz_set.

2015-10-26  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/36192
* gfortran.dg/pr36192.f90: New test.

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