]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/67679 (-Wunitialized reports on compiler-generated variables)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 3 Feb 2019 19:38:25 +0000 (19:38 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 3 Feb 2019 19:38:25 +0000 (19:38 +0000)
commit6090f915917f433509168b20c2ea9c3b4096c024
tree89c1dec17264d9bf5c934d4d34872863924a24eb
parentd31fd1e8ab24f5264894d4f887bcaacc5bc6ed40
re PR fortran/67679 (-Wunitialized reports on compiler-generated variables)

2019-02-03  Thomas Koenig  <tkoenig@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  <tkoenig@gcc.gnu.org>

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

From-SVN: r268502
gcc/fortran/trans-array.c
gcc/testsuite/gfortran.dg/coarray_lock_7.f90