summaryrefslogtreecommitdiff
path: root/gcc/loop-unswitch.c
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@physics.uc.edu>2004-05-13 22:02:16 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2004-05-13 15:02:16 -0700
commit77e2332572cb97acdb2d1b381edc53c8795677d3 (patch)
treedc15d390bd5d8b6236e0c49509def577efb204c1 /gcc/loop-unswitch.c
parent07a1f7953e64b6b3c8edabbe412099968bce7ab5 (diff)
downloadgcc-77e2332572cb97acdb2d1b381edc53c8795677d3.tar.gz
loop-unswitch.c (unswitch_single_loop): Free bbs at the end.
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu> * loop-unswitch.c (unswitch_single_loop): Free bbs at the end. From-SVN: r81808
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