[Bug fortran/84734] [8 Regression] Compiling codes with insane array dimensions gives an ICE after r257971
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Mar 10 18:45:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84734
--- Comment #9 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Sat Mar 10 18:44:25 2018
New Revision: 258417
URL: https://gcc.gnu.org/viewcvs?rev=258417&root=gcc&view=rev
Log:
2018-03-10 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-10 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/84734
* gfortran.dg/pr84734.f90: New test.
Added:
branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pr84734.f90
Modified:
branches/gcc-7-branch/gcc/fortran/ChangeLog
branches/gcc-7-branch/gcc/fortran/arith.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list