OSDN Git Service

2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 May 2004 22:02:16 +0000 (22:02 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 May 2004 22:02:16 +0000 (22:02 +0000)
        * 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

gcc/ChangeLog
gcc/loop-unswitch.c

index 9885c77..04b9cde 100644 (file)
@@ -1,5 +1,8 @@
 2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>
 
+       * loop-unswitch.c (unswitch_single_loop): Free bbs at
+       the end.
+
        * final.c (shorten_branches): Free uid_shuid before
        reallocating it.
 
index a056841..bedf5f8 100644 (file)
@@ -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