aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>2000-05-04 16:04:44 +0000
committerJeff Law <law@gcc.gnu.org>2000-05-04 10:04:44 -0600
commit4e95db71c294f64af199bc6feaca0e3a1923106e (patch)
treee83250df907c02908868ac2ea29ff265d1c51f8f
parentaff3283b5918ccc358c1ad65bea0808aa3165144 (diff)
downloadgcc-4e95db71c294f64af199bc6feaca0e3a1923106e.zip
gcc-4e95db71c294f64af199bc6feaca0e3a1923106e.tar.gz
gcc-4e95db71c294f64af199bc6feaca0e3a1923106e.tar.bz2
haifa-sched.c (schedule_insns): Free the flow edge list when it is no longer needed
* haifa-sched.c (schedule_insns): Free the flow edge list when it is no longer needed From-SVN: r33673
-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 60153d6..fa3465b 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 83d85fd..aa0eddc 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);