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

--- Comment #11 from anlauf at gcc dot gnu.org ---
Author: anlauf
Date: Wed Mar  6 21:16:00 2019
New Revision: 269445

URL: https://gcc.gnu.org/viewcvs?rev=269445&root=gcc&view=rev
Log:
2019-03-06  Harald Anlauf  <anl...@gmx.de>

        Backport from trunk
        PR fortran/71203
        * expr.c (simplify_const_ref): Avoid null pointer dereference.

        PR fortran/71203
        * gfortran.dg/substr_8.f90: New test.


Added:
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/substr_8.f90
Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/expr.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog

Reply via email to