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

--- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Wed Sep 18 17:32:08 2019
New Revision: 275891

URL: https://gcc.gnu.org/viewcvs?rev=275891&root=gcc&view=rev
Log:
2019-09-18  Thomas Koenig  <tkoe...@gcc.gnu.org>

    Backport from trunk
    PR fortran/91550
    * frontend-passes.c (do_subscript): If step equals
    zero, a previuos error has been reported; do nothing
    in this case.
    * resolve.c (gfc_resolve_iterator): Move error checking
    after type conversion.

2019-09-18  Thomas Koenig  <tkoe...@gcc.gnu.org>

    Backport from trunk
    PR fortran/91550
    * gfortran.dg/do_subscript_6.f90: New test.


Added:
    branches/gcc-9-branch/gcc/testsuite/gfortran.dg/do_subscript_6.f90
Modified:
    branches/gcc-9-branch/gcc/fortran/ChangeLog
    branches/gcc-9-branch/gcc/fortran/frontend-passes.c
    branches/gcc-9-branch/gcc/fortran/resolve.c
    branches/gcc-9-branch/gcc/testsuite/ChangeLog

Reply via email to