http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56737
--- Comment #7 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-04-02 15:43:19 UTC --- Author: burnus Date: Tue Apr 2 15:42:31 2013 New Revision: 197359 URL: http://gcc.gnu.org/viewcvs?rev=197359&root=gcc&view=rev Log: libgfortran/ 2013-04-02 Tobias Burnus <bur...@net-b.de> Backport from mainline: 2013-03-29 Tobias Burnus <bur...@net-b.de> PR fortran/56737 * io/format.c (parse_format): With caching, copy dtp->format string. (save_parsed_format): Use dtp->format directly without copying. 2012-03-29 Tobias Burnus <bur...@net-b.de> PR fortran/56737 * io/format.c (parse_format_list): Also cache FMT_STRING. (parse_format): Update call. gcc/testsuite/ 2013-04-02 Tobias Burnus <bur...@net-b.de> Backport from mainline: 2013-03-29 Tobias Burnus <bur...@net-b.de> PR fortran/56737 * testsuite/gfortran.dg/fmt_cache_3.f90: New. Added: branches/gcc-4_8-branch/gcc/testsuite/gfortran.dg/fmt_cache_3.f90 Modified: branches/gcc-4_8-branch/gcc/testsuite/ChangeLog branches/gcc-4_8-branch/libgfortran/ChangeLog branches/gcc-4_8-branch/libgfortran/io/format.c