From 77e2332572cb97acdb2d1b381edc53c8795677d3 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Thu, 13 May 2004 22:02:16 +0000 Subject: [PATCH] loop-unswitch.c (unswitch_single_loop): Free bbs at the end. 2004-05-13 Andrew Pinski * loop-unswitch.c (unswitch_single_loop): Free bbs at the end. From-SVN: r81808 --- gcc/ChangeLog | 3 +++ gcc/loop-unswitch.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9885c7746d7..04b9cde5759 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2004-05-13 Andrew Pinski + * loop-unswitch.c (unswitch_single_loop): Free bbs at + the end. + * final.c (shorten_branches): Free uid_shuid before reallocating it. 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 -- 2.30.2