re PR fortran/84734 (Compiling codes with insane array dimensions gives an ICE after...
authorSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 10 Mar 2018 18:34:12 +0000 (18:34 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 10 Mar 2018 18:34:12 +0000 (18:34 +0000)
commit7d2fb01c0ad6962eee602d076938ce9a65f54918
tree0e9c7c23f9bc06e84bd48e7b87cc6b35cb49a7d2
parentb3231b65bb70b49ee89460c4a53cadab87116ec8
re PR fortran/84734 (Compiling codes with insane array dimensions gives an ICE after r257971)

2018-03-09  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/84734
* arith.c (check_result, eval_intrinsic):  If result overflows, pass
the expression up the chain instead of a NULL pointer.

2018-03-09  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/84734
* gfortran.dg/pr84734.f90: New test.

From-SVN: r258416
gcc/fortran/ChangeLog
gcc/fortran/arith.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr84734.f90 [new file with mode: 0644]