re PR fortran/83224 (creating character array from elements shorter than declared...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Fri, 1 Dec 2017 07:35:50 +0000 (07:35 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Fri, 1 Dec 2017 07:35:50 +0000 (07:35 +0000)
commit852f7e6f4aa2b27986de5a522cd6638f0f1a74e7
treecd17650e8248d6394a7af37dfe980793a34205ad
parent663c725aa25da254c55873810c801526ae1af836
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 (realloc_string_callback): Handle
case for which the RHS is an array expression.

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

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

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