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

--- Comment #7 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sun Feb  3 19:38:25 2019
New Revision: 268502

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

        PR fortran/67679
        * trans-array.c (gfc_array_allocate):  For setting the bounds on
        the new array, add a condition for a not previously allocated
        variable.

2019-02-03  Thomas Koenig  <tkoe...@gcc.gnu.org>

        PR fortran/67679
        * gfortran.dg/warn_undefined_1.f90: New test.
        * gfortran.dg/coarray_lock_7.f90: Fix patterns in test.


Modified:
    trunk/gcc/fortran/trans-array.c
    trunk/gcc/testsuite/gfortran.dg/coarray_lock_7.f90

Reply via email to