https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91686
--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Thu Sep 12 09:05:14 2019 New Revision: 275681 URL: https://gcc.gnu.org/viewcvs?rev=275681&root=gcc&view=rev Log: 2019-09-12 Paul Thomas <pa...@gcc.gnu.org> PR fortran/91686 Backport from mainline * trans-expr.c (gfc_trans_assignment_1): Copy and paste section handling the rse.pre block from mainline. 2019-09-12 Paul Thomas <pa...@gcc.gnu.org> PR fortran/91686 * gfortran.dg/pr91686.f90 : New test. Added: branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pr91686.f90 Modified: branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/trans-expr.c branches/gcc-7-branch/gcc/testsuite/ChangeLog