https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81116
--- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Author: tkoenig Date: Wed Aug 16 17:21:22 2017 New Revision: 251125 URL: https://gcc.gnu.org/viewcvs?rev=251125&root=gcc&view=rev Log: 2017-08-16 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/81116 * frontend-passes.c (realloc_string_callback): If expression is a concatenation, also check for dependency. (constant_string_length): Check for presence of symtree. 2017-08-16 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/81116 * gfortran.dg/realloc_on_assignment_29.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/realloc_on_assign_29.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/frontend-passes.c trunk/gcc/testsuite/ChangeLog