diff options
author | Richard Henderson <rth@cygnus.com> | 1999-11-04 16:49:03 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-11-04 16:49:03 -0800 |
commit | e7749837caaa5c7a7fddea3e8eb90b852cead3d6 (patch) | |
tree | 36caca6632c74bf9cd783c44f1c99239c1b55570 /gcc/flow.c | |
parent | 920a303df913c5bcc6912ce722bee38e8fc04197 (diff) | |
download | gcc-e7749837caaa5c7a7fddea3e8eb90b852cead3d6.zip gcc-e7749837caaa5c7a7fddea3e8eb90b852cead3d6.tar.gz gcc-e7749837caaa5c7a7fddea3e8eb90b852cead3d6.tar.bz2 |
bitmap.h (BITMAP_XFREE): New.
* bitmap.h (BITMAP_XFREE): New.
* flow.c (life_analysis): Use it.
(life_analysis_1): Free blocks.
* combine.c (undo_commit): New.
(try_combine): Use it. Don't zap undobuf.undos.
(combine_instructions): Don't zap undobuf.undos; free the
undobuf.frees list.
* local-alloc.c (local_alloc): Free qty_phys_num_sugg.
* stmt.c (cost_table_): New.
(estimate_case_costs): Use it instead of xmalloc.
* toplev.c (compile_file): Reuse dumpname memory instead
of strdup'ing it.
From-SVN: r30404
Diffstat (limited to 'gcc/flow.c')
-rw-r--r-- | gcc/flow.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |