re PR fortran/83224 (creating character array from elements shorter than declared...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Fri, 1 Dec 2017 18:06:31 +0000 (18:06 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Fri, 1 Dec 2017 18:06:31 +0000 (18:06 +0000)
commit1cde289f1cf4d06815dbef089e969f7be0294178
tree722d167eee3f2c6cb5fc7f88c7c5cf030cdd467d
parentad8fda29e6274dd28aa11d15e98cc777f56ffb37
re PR fortran/83224 (creating character array from elements shorter than declared does not pad with whitespace properly and aborts)

2017-12-01  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/83224
* frontend-passes.c (create_var): Also handle
character arrays, handling deferred lenghts.

2017-12-01  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/83224
* gfortran.dg/dependency_51.f90: New test.

From-SVN: r255331
gcc/fortran/ChangeLog
gcc/fortran/frontend-passes.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/dependency_51.f90 [new file with mode: 0644]