aboutsummaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index d2d5091..43688ae 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -2466,8 +2466,7 @@ life_analysis (f, nregs, file, remove_dead_code)
if (file)
dump_flow_info (file);
- BITMAP_FREE (uid_volatile);
- free (uid_volatile);
+ BITMAP_XFREE (uid_volatile);
free_basic_block_vars (1);
}
@@ -2940,6 +2939,7 @@ life_analysis_1 (f, nregs, flags)
blocks = sbitmap_alloc (n_basic_blocks);
sbitmap_ones (blocks);
calculate_global_regs_live (blocks, blocks, flags & PROP_SCAN_DEAD_CODE);
+ sbitmap_free (blocks);
}
/* The only pseudos that are live at the beginning of the function are