summaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-11 16:11:47 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-11 16:11:47 +0000
commitcca23eb2566d435fe4ca3520330df6852080e6de (patch)
tree9bf626f34eb8a1febc474bc44e63bc294db828ba /gcc/flow.c
parentf64d3a4bcc2c63f4b4c3cf04a72066136abcf021 (diff)
downloadgcc-cca23eb2566d435fe4ca3520330df6852080e6de.tar.gz
* gcse.c, lcm.c, sched-deps.c:
s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g * flow.c (flow_loops_find): Free dom if we found no loops, since we aren't going to save it. * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are done. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43938 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index ba1b99c23f9..ce8559c1a89 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -9017,6 +9017,10 @@ flow_loops_find (loops, flags)
sbitmap_free (headers);
}
+ else
+ {
+ sbitmap_vector_free (dom);
+ }
loops->num = num_loops;