https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87782
--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Author: tkoenig Date: Thu Nov 1 19:50:14 2018 New Revision: 265730 URL: https://gcc.gnu.org/viewcvs?rev=265730&root=gcc&view=rev Log: 2018-11-01 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/87782 * frontend-passes.c (constant_string_length): If there is a substring with a length which cannot be reduced to a constant, return NULL. Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/frontend-passes.c