The patch for PR fortran/36192 that I committed here: https://gcc.gnu.org/ml/gcc-bugs/2015-10/msg02160.html cured an ICE for a testcase that was reduced from the originally submitted mutilated Fortran code. The original code could in fact invoke another ICE. This patch cures that ICE. The patch simply checks that the array indices have INTEGER type before calling GMP routines. Tested om x86_64-*-freebsd. OK to commit? 2015-10-29 Steven G. Kargl PR fortran/36192 * interface.c (get_expr_storage_size): Check for INTEGER type before calling gmp routines. 2015-10-29 Steven G. Kargl PR fortran/36192 * gfortran.dg/pr36192_1.f90: New test. -- Steve