Commit b081e1da by Sebastian Pop Committed by Sebastian Pop

loop-unswitch.c (unswitch_loop): Free zero_bitmap before returning.

        * loop-unswitch.c (unswitch_loop): Free zero_bitmap before returning.

From-SVN: r108509
parent aa4a222c
2005-12-14 Sebastian Pop <pop@cri.ensmp.fr>
* loop-unswitch.c (unswitch_loop): Free zero_bitmap before returning.
2005-12-14 J"orn Rennecke <joern.rennecke@st.com>
PR bootstrap/25397:
......
......@@ -426,8 +426,11 @@ unswitch_loop (struct loops *loops, struct loop *loop, basic_block unswitch_on,
sbitmap_zero (zero_bitmap);
if (!duplicate_loop_to_header_edge (loop, entry, loops, 1,
zero_bitmap, NULL, NULL, NULL, 0))
return NULL;
free (zero_bitmap);
{
sbitmap_free (zero_bitmap);
return NULL;
}
sbitmap_free (zero_bitmap);
entry->flags |= irred_flag;
/* Record the block with condition we unswitch on. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment