re PR fortran/77460 (ICE when summing an overflowing array)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Sun, 4 Sep 2016 18:43:40 +0000 (18:43 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sun, 4 Sep 2016 18:43:40 +0000 (18:43 +0000)
commite85921ee9fd4e526517ec121eff8e8ea04e78b8b
tree905ba230bea234f8d6d035397fc7433ae69d5798
parent5961d13d279329211e2a2d2c294395d17e4c7fcb
re PR fortran/77460 (ICE when summing an overflowing array)

2016-09-04  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/77460
* simplify.c (simplify_transformation_to_scalar):  On error, result
may be NULL, simply return.

2016-09-04  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/77460
* gfortran.dg/pr77460.f90: New test.

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