aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-ssa-copy.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4dfe83b..844197d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-19 Kazu Hirata <kazu@cs.umass.edu>
+
+ PR tree-optimization/21096
+ * tree-ssa-copy.c (fini_copy_prop): Free cached_last_copy_of.
+
2005-04-19 Alan Modra <amodra@bigpond.net.au>
PR target/21098
diff --git a/gcc/tree-ssa-copy.c b/gcc/tree-ssa-copy.c
index b9544f8..e657bdb 100644
--- a/gcc/tree-ssa-copy.c
+++ b/gcc/tree-ssa-copy.c
@@ -901,6 +901,7 @@ fini_copy_prop (void)
substitute_and_fold (copy_of);
+ free (cached_last_copy_of);
free (copy_of);
}