aboutsummaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authorJerry DeLisle <jvdelisle@gcc.gnu.org>2009-06-23 00:16:24 +0000
committerJerry DeLisle <jvdelisle@gcc.gnu.org>2009-06-23 00:16:24 +0000
commit573cbcb9c677e34ef28f21fd4b43072cf0e38640 (patch)
treeb654664417ec3c6f3fd157309d978e75ffb756d9 /libgfortran
parentdf4ba119d0cabcf46dc159bf0a9509d008d00de5 (diff)
downloadgcc-573cbcb9c677e34ef28f21fd4b43072cf0e38640.zip
gcc-573cbcb9c677e34ef28f21fd4b43072cf0e38640.tar.gz
gcc-573cbcb9c677e34ef28f21fd4b43072cf0e38640.tar.bz2
re PR fortran/40508 (memory leak in internal write of gfortran)
2009-06-22 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/40508 * io/format.c: Don't save parsed format data for internal units. From-SVN: r148823
Diffstat (limited to 'libgfortran')
-rw-r--r--libgfortran/ChangeLog11
-rw-r--r--libgfortran/io/format.c5
2 files changed, 15 insertions, 1 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index 4b4a353..0ae5636 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,14 @@
+2009-06-xx Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/32784
+ * io/unix.c (open_external): Translate CONIN$, CONOUT$, and CONERR$ to
+ stdin, stdout, and stderr for ming32 or cygwin systems.
+
+2009-06-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/40508
+ * io/format.c: Don't save parsed format data for internal units.
+
2009-06-21 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/37577
diff --git a/libgfortran/io/format.c b/libgfortran/io/format.c
index 2c116d6..401cd82 100644
--- a/libgfortran/io/format.c
+++ b/libgfortran/io/format.c
@@ -1218,7 +1218,10 @@ parse_format (st_parameter_dt *dtp)
free_format_hash_table (dtp->u.p.current_unit);
return;
}
- save_parsed_format (dtp);
+
+ /* TODO: Interim fix for PR40508. Revise this for PR40330. */
+ if (!is_internal_unit(dtp))
+ save_parsed_format (dtp);
}