[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:34:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84734

--- Comment #8 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Sat Mar 10 18:34:12 2018
New Revision: 258416

URL: https://gcc.gnu.org/viewcvs?rev=258416&root=gcc&view=rev
Log:
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.

Added:
    trunk/gcc/testsuite/gfortran.dg/pr84734.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/arith.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list