https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90561
--- Comment #11 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Author: tkoenig Date: Tue Aug 13 20:01:43 2019 New Revision: 274398 URL: https://gcc.gnu.org/viewcvs?rev=274398&root=gcc&view=rev Log: 2019-08-13 Thomas Koenig <tkoe...@gcc.gnu.org> Backport from trunk PR fortran/90561 * trans.h (gfc_evaluate_now_function_scope): New function. * trans.c (gfc_evaluate_now_function_scope): New function. * trans-expr.c (gfc_trans_assignment): Use it. 2019-08-13 Thomas Koenig <tkoe...@gcc.gnu.org> Backport from trunk PR fortran/90561 * gfortran.dg/deferred_character_34.f90: New test. Added: branches/gcc-9-branch/gcc/testsuite/gfortran.dg/deferred_character_34.f90 Modified: branches/gcc-9-branch/gcc/fortran/ChangeLog branches/gcc-9-branch/gcc/fortran/trans-expr.c branches/gcc-9-branch/gcc/fortran/trans.c branches/gcc-9-branch/gcc/fortran/trans.h branches/gcc-9-branch/gcc/testsuite/ChangeLog