diff options
author | Mark Mitchell <mark@codesourcery.com> | 1999-10-29 09:49:23 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-10-29 09:49:23 +0000 |
commit | 5faf03ae77a43db0e5a685a01eb5b4023b09638f (patch) | |
tree | 610028a55913271a69abf4d597b12ed1df6999c0 /gcc/gcse.c | |
parent | 3baa501d812db77b1957928294a753c372104afb (diff) | |
download | gcc-5faf03ae77a43db0e5a685a01eb5b4023b09638f.zip gcc-5faf03ae77a43db0e5a685a01eb5b4023b09638f.tar.gz gcc-5faf03ae77a43db0e5a685a01eb5b4023b09638f.tar.bz2 |
except.c (free_eh_nesting_info): Free the info itself.
* except.c (free_eh_nesting_info): Free the info itself.
* function.c (free_after_compilation): Don't free NULL.
* gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
(pre_edge_insert): Free inserted.
* stmt.c (free_stmt_status): Don't free NULL.
From-SVN: r30255
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -4108,8 +4108,8 @@ alloc_pre_mem (n_blocks, n_exprs) transp = sbitmap_vector_alloc (n_blocks, n_exprs); comp = sbitmap_vector_alloc (n_blocks, n_exprs); antloc = sbitmap_vector_alloc (n_blocks, n_exprs); - temp_bitmap = sbitmap_vector_alloc (n_blocks, n_exprs); + pre_optimal = NULL; pre_redundant = NULL; pre_insert_map = NULL; @@ -4130,6 +4130,7 @@ free_pre_mem () free (transp); free (comp); free (antloc); + free (temp_bitmap); if (pre_optimal) free (pre_optimal); @@ -4535,6 +4536,10 @@ pre_edge_insert (edge_list, index_map) } } } + + /* Clean up. */ + free (inserted); + return did_insert; } |