http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56737
--- Comment #10 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-04-04 09:32:14 UTC --- Author: burnus Date: Thu Apr 4 09:31:53 2013 New Revision: 197474 URL: http://gcc.gnu.org/viewcvs?rev=197474&root=gcc&view=rev Log: libgfortran/ 2013-04-04 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-04 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_6-branch/gcc/testsuite/gfortran.dg/fmt_cache_3.f90 Modified: branches/gcc-4_6-branch/gcc/testsuite/ChangeLog branches/gcc-4_6-branch/libgfortran/ChangeLog branches/gcc-4_6-branch/libgfortran/io/format.c