aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2001-08-27 16:46:16 +0000
committerJeff Law <law@gcc.gnu.org>2001-08-27 10:46:16 -0600
commitc96bd05e6b0aa64889d9a2222fa55125dfa07b25 (patch)
tree510954e842367761f3dd90adfcc80cdf250036d7
parentc50594233b1cf896e3383fd4f2988819d2bba440 (diff)
downloadgcc-c96bd05e6b0aa64889d9a2222fa55125dfa07b25.zip
gcc-c96bd05e6b0aa64889d9a2222fa55125dfa07b25.tar.gz
gcc-c96bd05e6b0aa64889d9a2222fa55125dfa07b25.tar.bz2
* ssa-ccp.c (ssa_const_prop): Free ssa_edges.
From-SVN: r45194
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/ssa-ccp.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bf70736..d9cb360 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2001-08-25 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * ssa-ccp.c (ssa_const_prop): Free ssa_edges.
+
2001-08-27 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/rs6000.c (mask_operand): Rewrite without
diff --git a/gcc/ssa-ccp.c b/gcc/ssa-ccp.c
index 5b1ca42..231f71a 100644
--- a/gcc/ssa-ccp.c
+++ b/gcc/ssa-ccp.c
@@ -1081,6 +1081,9 @@ ssa_const_prop (void)
sbitmap_free (executable_blocks);
executable_blocks = NULL;
+ sbitmap_free (ssa_edges);
+ ssa_edges = NULL;
+
free_edge_list (edges);
edges = NULL;