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

--- Comment #6 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Tue Aug 13 10:05:44 2019
New Revision: 274369

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

        Backport from trunk
        PR fortran/91424
        * frontend-passes.c (do_subscript): Do not warn for an
        expression a second time.  Do not warn about a zero-trip loop.
        (doloop_warn): Also look at contained namespaces.

2019-08-13  Thomas Koenig  <tkoe...@gcc.gnu.org>

        Backport from trunk
        PR fortran/91424
        * gfortran.dg/do_subscript_3.f90: New test.
        * gfortran.dg/do_subscript_4.f90: New test.
        * gfortran.dg/pr70754.f90: Use indices that to not overflow.

2019-08-13  Thomas Koenig  <tkoe...@gcc.gnu.org>

        Backport from trunk
        PR fortran/91422
        * testsuite/libgomp.oacc-fortran/routine-7.f90: Correct array
        dimension.


Added:
    branches/gcc-9-branch/gcc/testsuite/gfortran.dg/do_subscript_3.f90
    branches/gcc-9-branch/gcc/testsuite/gfortran.dg/do_subscript_4.f90
Modified:
    branches/gcc-9-branch/gcc/fortran/ChangeLog
    branches/gcc-9-branch/gcc/fortran/frontend-passes.c
    branches/gcc-9-branch/gcc/testsuite/ChangeLog
    branches/gcc-9-branch/gcc/testsuite/gfortran.dg/pr70754.f90
    branches/gcc-9-branch/libgomp/ChangeLog
    branches/gcc-9-branch/libgomp/testsuite/libgomp.oacc-fortran/routine-7.f90

Reply via email to