https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71204
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri May 20 19:00:54 2016 New Revision: 236528 URL: https://gcc.gnu.org/viewcvs?rev=236528&root=gcc&view=rev Log: PR fortran/71204 * frontend-passes.c (realloc_string_callback): Clear inserted_block and changed_statement before calling create_var. * gfortran.dg/pr71204.f90: New test. Added: branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr71204.f90 Modified: branches/gcc-5-branch/gcc/fortran/ChangeLog branches/gcc-5-branch/gcc/fortran/frontend-passes.c branches/gcc-5-branch/gcc/testsuite/ChangeLog