summaryrefslogtreecommitdiff
path: root/gcc/loop-unswitch.c
diff options
context:
space:
mode:
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-13 22:02:16 +0000
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-13 22:02:16 +0000
commit75a73da71c7a55a61d3a3f838472dd1bdec85c1b (patch)
treedc15d390bd5d8b6236e0c49509def577efb204c1 /gcc/loop-unswitch.c
parentc1b2657266fc2464f3bb24599774993f6f744c2b (diff)
downloadgcc-75a73da71c7a55a61d3a3f838472dd1bdec85c1b.tar.gz
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
* loop-unswitch.c (unswitch_single_loop): Free bbs at the end. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81808 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop-unswitch.c')
-rw-r--r--gcc/loop-unswitch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/loop-unswitch.c b/gcc/loop-unswitch.c
index a056841ef8a..bedf5f8ce7c 100644
--- a/gcc/loop-unswitch.c
+++ b/gcc/loop-unswitch.c
@@ -379,6 +379,8 @@ unswitch_single_loop (struct loops *loops, struct loop *loop,
free_EXPR_LIST_node (conds);
if (rcond)
free_EXPR_LIST_node (rconds);
+
+ free (bbs);
}
/* Unswitch a LOOP w.r. to given basic block UNSWITCH_ON. We only support