https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81116
--- Comment #5 from Aldy Hernandez <aldyh at gcc dot gnu.org> --- Author: aldyh Date: Wed Sep 13 17:02:22 2017 New Revision: 252446 URL: https://gcc.gnu.org/viewcvs?rev=252446&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: branches/range-gen2/gcc/testsuite/gfortran.dg/realloc_on_assign_29.f90 Modified: branches/range-gen2/gcc/fortran/ChangeLog branches/range-gen2/gcc/fortran/frontend-passes.c branches/range-gen2/gcc/testsuite/ChangeLog