summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-04 16:04:44 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-04 16:04:44 +0000
commitd6df780c4d82046ecfe40971c8d903ef31bc2711 (patch)
treee83250df907c02908868ac2ea29ff265d1c51f8f
parentaa5773bc6992261219b3fbd0331a1575c2e37015 (diff)
downloadgcc-d6df780c4d82046ecfe40971c8d903ef31bc2711.tar.gz
* haifa-sched.c (schedule_insns): Free the flow edge list when it
is no longer needed git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33673 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/haifa-sched.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 60153d62e85..fa3465bbed9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Thu May 4 10:03:50 2000 Jeffrey A Law (law@cygnus.com)
+
+ * haifa-sched.c (schedule_insns): Free the flow edge list when it
+ is no longer needed
+
2000-05-04 Bruce Korb <bkorb@gnu.org>
* fixincl/inclhack.def: added broken_cabs -
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index 83d85fdbe33..aa0eddcb763 100644
--- a/gcc/haifa-sched.c
+++ b/gcc/haifa-sched.c
@@ -6918,6 +6918,9 @@ schedule_insns (dump_file)
if (sched_verbose >= 3)
debug_regions ();
+ /* We are done with flow's edge list. */
+ free_edge_list (edge_list);
+
/* For now. This will move as more and more of haifa is converted
to using the cfg code in flow.c. */
free (dom);