[PATCH] PR fortran/36192 -- yet another fix for an ICE
Steve Kargl
sgk@troutmask.apl.washington.edu
Thu Oct 29 18:35:00 GMT 2015
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 <kargl@gcc.gnu.org>
PR fortran/36192
* interface.c (get_expr_storage_size): Check for INTEGER type before
calling gmp routines.
2015-10-29 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/36192
* gfortran.dg/pr36192_1.f90: New test.
--
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr36192_1.diff
Type: text/x-diff
Size: 1357 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20151029/02d6d5ab/attachment.bin>
More information about the Fortran
mailing list